{"name":"@eslint/js","version":"9.16.0","keywords":["javascript","eslint-plugin","eslint"],"license":"MIT","_id":"@eslint/js@9.16.0","homepage":"https://eslint.org","bugs":{"url":"https://github.com/eslint/eslint/issues/"},"dist":{"shasum":"3df2b2dd3b9163056616886c86e4082f45dbf3f4","tarball":"http://registry-npm.ywwl.com/@eslint/js/download/@eslint/js-9.16.0.tgz","fileCount":7,"integrity":"sha512-tw2HxzQkrbeuvyj1tG2Yqq+0H9wGoI2IMk4EOsQeX+vmd75FtJAzf+gTA69WF+baUKRYQ3x2kbLE08js5OsTVg==","signatures":[{"sig":"MEQCIBiisXJsQtIcL+D4uoAX3kod/OmRVNHtCZC4boLrawsZAiBijaWu+Bl1vlDjihIreFf9AojA6Wxts3C+4jt51YPDxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14940,"size":4033,"noattachment":false,"key":"/@eslint/js/-/@eslint/js-9.16.0.tgz"},"main":"./src/index.js","types":"./types/index.d.ts","engines":{"node":"^18.18.0 || ^20.9.0 || >=21.1.0"},"gitHead":"df9bf9519a302e284700ad300463ecdf2ebf9f25","scripts":{"test:types":"tsc -p tests/types/tsconfig.json"},"_npmUser":{"name":"eslintbot","email":"nicholas@eslint.org"},"repository":{"url":"git+https://github.com/eslint/eslint.git","type":"git","directory":"packages/js"},"_npmVersion":"10.1.0","description":"ESLint JavaScript language implementation","directories":{},"_nodeVersion":"20.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/js_9.16.0_1732914353248_0.11580635651695115","host":"s3://npm-registry-packages"},"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        name: \"your-project/recommended-rules\",\n        files: [\"**/*.js\"],\n        rules: js.configs.recommended.rules\n    },\n\n    // apply recommended rules to JS files with an override\n    {\n        name: \"your-project/recommended-rules-with-override\",\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        name: \"your-project/all-rules\",\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":1732914353441,"maintainers":[{"name":"openjsfoundation","email":"npm@openjsf.org"},{"name":"eslintbot","email":"nicholas@eslint.org"}],"_cnpm_publish_time":1732914353441,"dist-tags":{"latest":"10.0.1","maintenance":"9.39.5","next":"10.0.0-rc.0"}}