{"name":"@eslint/js","version":"9.23.0","description":"ESLint JavaScript language implementation","main":"./src/index.js","types":"./types/index.d.ts","scripts":{"test:types":"tsc -p tests/types/tsconfig.json"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/eslint/eslint.git","directory":"packages/js"},"homepage":"https://eslint.org","bugs":{"url":"https://github.com/eslint/eslint/issues/"},"keywords":["javascript","eslint-plugin","eslint"],"license":"MIT","engines":{"node":"^18.18.0 || ^20.9.0 || >=21.1.0"},"_id":"@eslint/js@9.23.0","gitHead":"20591c49ff27435b1555111a929a6966febc249f","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw==","shasum":"c09ded4f3dc63b40b933bcaeb853fceddb64da30","tarball":"http://registry-npm.ywwl.com/@eslint/js/download/@eslint/js-9.23.0.tgz","fileCount":7,"unpackedSize":14427,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHCR5/dAqBFQgZAi3KVAQth5on3Mc2bqzk1U9+ttmOipAiBImRT7ggEvG8GJ/Y0XxAZ/fbUl0EiSPbWtqUsdukMvdw=="}],"size":4180,"noattachment":false,"key":"/@eslint/js/-/@eslint/js-9.23.0.tgz"},"_npmUser":{"name":"eslintbot","email":"contact@eslint.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/js_9.23.0_1742588086544_0.12285618881880356"},"_hasShrinkwrap":false,"readme":"[![npm version](https://img.shields.io/npm/v/@eslint/js.svg)](https://www.npmjs.com/package/@eslint/js)\n\n# ESLint JavaScript Plugin\n\n[Website](https://eslint.org) | [Configure ESLint](https://eslint.org/docs/latest/use/configure) | [Rules](https://eslint.org/docs/rules/) | [Contributing](https://eslint.org/docs/latest/contribute) | [Twitter](https://twitter.com/geteslint) | [Chatroom](https://eslint.org/chat)\n\nThe beginnings of separating out JavaScript-specific functionality from ESLint.\n\nRight now, this plugin contains two configurations:\n\n-   `recommended` - enables the rules recommended by the ESLint team (the replacement for `\"eslint:recommended\"`)\n-   `all` - enables all ESLint rules (the replacement for `\"eslint:all\"`)\n\n## Installation\n\n```shell\nnpm install @eslint/js -D\n```\n\n## Usage\n\nUse in your `eslint.config.js` file anytime you want to extend one of the configs:\n\n```js\nimport { defineConfig } from \"eslint/config\";\nimport js from \"@eslint/js\";\n\nexport default defineConfig([\n\t// apply recommended rules to JS files\n\t{\n\t\tname: \"your-project/recommended-rules\",\n\t\tfiles: [\"**/*.js\"],\n\t\tplugins: {\n\t\t\tjs,\n\t\t},\n\t\textends: [\"js/recommended\"],\n\t},\n\n\t// apply recommended rules to JS files with an override\n\t{\n\t\tname: \"your-project/recommended-rules-with-override\",\n\t\tfiles: [\"**/*.js\"],\n\t\tplugins: {\n\t\t\tjs,\n\t\t},\n\t\textends: [\"js/recommended\"],\n\t\trules: {\n\t\t\t\"no-unused-vars\": \"warn\",\n\t\t},\n\t},\n\n\t// apply all rules to JS files\n\t{\n\t\tname: \"your-project/all-rules\",\n\t\tfiles: [\"**/*.js\"],\n\t\tplugins: {\n\t\t\tjs,\n\t\t},\n\t\textends: [\"js/all\"],\n\t\trules: {\n\t\t\t\"no-unused-vars\": \"warn\",\n\t\t},\n\t},\n]);\n```\n\n## License\n\nMIT\n","publish_time":1742588086756,"maintainers":[{"name":"openjsfoundation","email":"npm@openjsf.org"},{"name":"eslintbot","email":"contact@eslint.org"}],"_cnpm_publish_time":1742588086756,"dist-tags":{"latest":"10.0.1","maintenance":"9.39.5","next":"10.0.0-rc.0"}}