{"name":"@eslint/js","version":"9.5.0","description":"ESLint JavaScript language implementation","main":"./src/index.js","scripts":{},"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.5.0","gitHead":"58908415c3e9e7924d39a2ff96573f7677ddb806","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-A7+AOT2ICkodvtsWnxZP4Xxk3NbZ3VMHd8oihydLRGrJgqqdEz1qSeEgXYyT/Cu8h1TWWsQRejIx48mtjZ5y1w==","shasum":"0e9c24a670b8a5c86bff97b40be13d8d8f238045","tarball":"http://registry-npm.ywwl.com/@eslint/js/download/@eslint/js-9.5.0.tgz","fileCount":6,"unpackedSize":14223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEikUKQR1qGTYoOCSvPPSsqw+tlxaHqpphAz9zVW+kVJAiASjpcVoazgiizZu51fogT+C+x0oJYyILwUXHU2E2Db5g=="}],"size":3798,"noattachment":false,"key":"/@eslint/js/-/@eslint/js-9.5.0.tgz"},"_npmUser":{"name":"eslintbot","email":"nicholas+eslint@nczconsulting.com"},"directories":{},"maintainers":[{"name":"openjsfoundation","email":"npm@openjsf.org"},{"name":"eslintbot","email":"nicholas+eslint@nczconsulting.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js_9.5.0_1718391824084_0.9137334862349966"},"_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 js from \"@eslint/js\";\n\nexport default [\n\n    // apply recommended rules to JS files\n    {\n        files: [\"**/*.js\"],\n        rules: js.configs.recommended.rules\n    },\n\n    // apply recommended rules to JS files with an override\n    {\n        files: [\"**/*.js\"],\n        rules: {\n            ...js.configs.recommended.rules,\n            \"no-unused-vars\": \"warn\"\n        } \n    },\n\n    // apply all rules to JS files\n    {\n        files: [\"**/*.js\"],\n        rules: {\n            ...js.configs.all.rules,\n            \"no-unused-vars\": \"warn\"\n        } \n    }\n]\n```\n\n## License\n\nMIT\n","publish_time":1718391824252,"_cnpm_publish_time":1718391824252,"dist-tags":{"latest":"10.0.1","maintenance":"9.39.5","next":"10.0.0-rc.0"}}