{"id":13467117,"url":"https://github.com/quick-lint/quick-lint-js","last_synced_at":"2025-05-14T13:06:04.368Z","repository":{"id":37213132,"uuid":"252085348","full_name":"quick-lint/quick-lint-js","owner":"quick-lint","description":"quick-lint-js finds bugs in JavaScript programs","archived":false,"fork":false,"pushed_at":"2024-09-29T00:03:03.000Z","size":35480,"stargazers_count":1566,"open_issues_count":418,"forks_count":191,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-12T08:20:20.355Z","etag":null,"topics":["beginner-friendly","javascript","linter","parser"],"latest_commit_sha":null,"homepage":"https://quick-lint-js.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quick-lint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["quick-lint"]}},"created_at":"2020-04-01T05:57:50.000Z","updated_at":"2025-05-07T21:15:50.000Z","dependencies_parsed_at":"2023-10-15T01:29:17.464Z","dependency_job_id":"c338232d-c7f5-4bcc-aaf1-2d7522339895","html_url":"https://github.com/quick-lint/quick-lint-js","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quick-lint%2Fquick-lint-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quick-lint%2Fquick-lint-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quick-lint%2Fquick-lint-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quick-lint%2Fquick-lint-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quick-lint","download_url":"https://codeload.github.com/quick-lint/quick-lint-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149948,"owners_count":22022851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beginner-friendly","javascript","linter","parser"],"created_at":"2024-07-31T15:00:53.280Z","updated_at":"2025-05-14T13:06:04.304Z","avatar_url":"https://github.com/quick-lint.png","language":"C++","readme":"# \u003cimg src=\"dist/artwork/dusty-right.svg\" alt=\"\" title=\"Dusty, the quick-lint-js mascot\" width=\"46.4\" height=\"36\" align=\"top\"\u003e quick-lint-js\n\nquick-lint-js finds bugs in JavaScript programs.\n\nquick-lint-js finds many bugs, including:\n\n* Using a variable which does not exist\n* Assigning to a `const` variable\n* Using `await` in a non-`async` function\n* Syntax errors\n\n![Demonstration of quick-lint-js in Visual Studio Code](plugin/vscode/demo.webp)\n\n## Installing\n\nThere are many ways to install quick-lint-js, depending on how you prefer to\nwork! Here are the environments we support:\n\n- CLI (Command-Line Interface)\n- LSP (Language Server Protocol)\n- Editor Plugins for:\n  - Visual Studio Code (VSCode)\n  - VSCodium\n  - Vim/Neovim\n  - Sublime Text\n  - Emacs\n  - Kate\n\nFor detailed installation instructions, visit the [quick-lint-js installation\nguide](https://quick-lint-js.com/install/).\n\n## Examples\n\nHere are some common bugs that quick-lint-js can catch:\n\n### Example 1: Undefined Variable\n\n```js\nconst occupation = \"Engineer\";\nconsole.log(\"Welcome, \" + ocupation); // Typo: 'ocupation' should be 'occupation'\n```\nOutput: `use of undeclared variable: ocupation`\n\n### Example 2: Reassigning a const variable\n\n```js\nconst name = \"John\";\nname = \"Doe\"; // Error: Cannot reassign a constant\n```\nOutput: `assignment to const variable: name`\n\n### Example 3: Using await in a non-async function\n\n```js\nfunction getData() {\n  await fetch(\"/data\");\n}\n```\nOutput: `await used in non-async function`\n\nThese are just a few examples of how quick-lint-js can help identify common\nissues in your JavaScript code.\n\n## Contributing\n\nWe’re always happy to welcome new contributors! If you’d like to contribute to\nquick-lint-js, please refer to the contributing guide on our website for all the\ndetails.\n\nCheck out the [contributing guide here](https://quick-lint-js.com/contribute/).\n\n## Contact\n\nIf you have any questions or feedback, feel free to reach out:\n\n- **Bugs and feature requests**: File an issue on GitHub.\n- **IRC**: Ask questions in the [#quick-lint-js][quick-lint-js-irc-web] channel\n  on Libera.Chat.\n- **Security bug reports** (private disclosure): Email us at\n  [strager.nds@gmail.com](mailto:strager.nds@gmail.com).\n\n[quick-lint-js-irc-web]: https://kiwiirc.com/nextclient/irc.libera.chat/#quick-lint-js\n","funding_links":["https://github.com/sponsors/quick-lint"],"categories":["C++","打包工具"],"sub_categories":["非 JavaScript 编译工具"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquick-lint%2Fquick-lint-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquick-lint%2Fquick-lint-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquick-lint%2Fquick-lint-js/lists"}