{"name":"@eslint/js","version":"8.34.0","keywords":["javascript","eslint-plugin","eslint"],"license":"MIT","_id":"@eslint/js@8.34.0","maintainers":[{"name":"openjsfoundation","email":"npm@openjsf.org"},{"name":"eslintbot","email":"nicholas+eslint@nczconsulting.com"}],"homepage":"https://eslint.org","bugs":{"url":"https://github.com/eslint/eslint/issues/"},"dist":{"shasum":"29a677199371262f64327f81148e16e2b8976a8a","tarball":"http://registry-npm.ywwl.com/@eslint/js/download/@eslint/js-8.34.0.tgz","fileCount":6,"integrity":"sha512-MWkafDmWOno/1HC+jMx9OSviFJV8OYiZgTFI6ExbLOxCJHF3KtG3SxqHI6LOVoEGm1ixZr48V1cofr6eimndKw==","signatures":[{"sig":"MEQCIGAy0ryoaLJnCMYBNj+PuHz2QX4AjTo505hGah2XNpj3AiBVB5Ccu1TtPEMs2BzJAOzXBzfHtToO2ShCuk95lk3Ruw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+qyzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbHBAAoCPcqnwFnt09tIJtMP2mcMu9AA4/XXN5YzPA2PVX04FDH8v9\r\nVmjryuAxU8iNuoI5+F9VSZzXcYUzpA7VWdQBTkH0HyrKYN9SGBpKdmlE+NCK\r\noTp0neRqd9ekd4ZJ1NZ2Zz7aIz1D+L1jeovwLCZ1mYvZ7jOy0AJjFHSIWgrn\r\nOVX38M146TpYLr1gAVznIwEhaNy3KcFUcZzPuGxq9xKwW0kpd5E+EMUZFkbi\r\nKwdR8Q6iFYSNntjV+un0Ia2+ZjJpPMnUQzFRWlLGaTOj2xVPOxwYtHDOcXvk\r\nroUVC+uES2hiLn/md+rB+cW7xby3CAR6elfMBDH5kRYRnMvwhBMceUUw79a3\r\nqd8XPJDS75JGJcc7LGjcGXrB828dQfReQzhsX4xW7A9CINhv1U6FkKpQkOCW\r\nX4k/7Kl3eaUvLklTsNhud7LsnhSCAeE8HYnLVrGeePP+jtnOGtyg3OizryuC\r\nszDr/7/J6lriZTMrv2F7eBSH3ObdOJxsqpCpN5E5CtBOHEd7IL8lEwR/y4Sz\r\ny4usj+RJaV66716YG7wFF11EyF1tIDeKIz3FpAHDRDi/WtWSVykgx08qWCB1\r\nrDBkPLZN0L+4VCWh8jJtkP+B/JINUt/fpcYvUITJ1uzAYyAELCufclLSjmV7\r\nD55DljGrwsgyv3H24VuQW5GEUBAFYri9Ha4=\r\n=CC1i\r\n-----END PGP SIGNATURE-----\r\n","size":4181,"noattachment":false,"key":"/@eslint/js/-/@eslint/js-8.34.0.tgz"},"main":"./src/index.js","engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"gitHead":"5a517da8e55f6de28e9c028c5627fa7d82945969","scripts":{},"_npmUser":{"name":"eslintbot","email":"nicholas+eslint@nczconsulting.com"},"repository":{"url":"git+https://github.com/eslint/eslint.git","type":"git","directory":"packages/js"},"_npmVersion":"8.19.2","description":"ESLint JavaScript language implementation","directories":{},"_nodeVersion":"16.18.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/js_8.34.0_1677372595432_0.37247570362023796","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        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":1677372595619,"_cnpm_publish_time":1677372595619,"dist-tags":{"latest":"10.0.1","maintenance":"9.39.5","next":"10.0.0-rc.0"}}