{"_id":"@dootrix/eslint-config","name":"@dootrix/eslint-config","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dootrix/eslint-config","version":"0.1.0","description":"Sharable config for ESLint","scripts":{"test":"npm run lint","lint":"eslint './**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/Dootrix/eslint-config.git"},"keywords":[],"author":{"name":"Neil Sweeney","email":"neil.sweeney@dootrix.com","url":"https://wolfiezero.com"},"publishConfig":{"access":"public"},"license":"ISC","bugs":{"url":"https://github.com/Dootrix/eslint-config/issues"},"homepage":"https://github.com/Dootrix/eslint-config#readme","prettier":"@dootrix/prettier-config","peerDependencies":{"@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","eslint":"^8.19.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jsx-a11y":"^6.6.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.30.1","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-unicorn":"^43.0.0","eslint-plugin-vue":"^9.2.0","prettier":"^2.7.1"},"devDependencies":{"@dootrix/prettier-config":"git+https://github.com/dootrix/prettier-config.git","@typescript-eslint/eslint-plugin":"^5.30.5","@typescript-eslint/parser":"^5.30.5","eslint":"^8.19.0","eslint-config-prettier":"^8.5.0","eslint-plugin-jsx-a11y":"^6.6.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.30.1","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-unicorn":"^43.0.0","eslint-plugin-vue":"^9.2.0","np":"^7.6.2","prettier":"^2.7.1"},"gitHead":"d8ac19ddf39d226843de03039de01ab8d4bc8ffd","_id":"@dootrix/eslint-config@0.1.0","_nodeVersion":"18.3.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-N5dtBfhxtclltJcG+zZ2X2gam+H4+zkbhQD/s94qegJFowpazutlbHssMWGID6JOy7qUJah5ddrY8MP3aZjIVQ==","shasum":"a92b845b3a6dc4b64f36907aa808154883377cfc","tarball":"https://registry.npmjs.org/@dootrix/eslint-config/-/eslint-config-0.1.0.tgz","fileCount":15,"unpackedSize":6247,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoszMjyyC7TYDjPkupE1aw1SexE4IvXDf8FBiksuYI+gIgJMnr80oQ33lW8tvtEA4EQl5tvfb68Sv+XWUIobc4VJc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixrT9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGixAApEV19wU8AdhP537n9vvfwKidIz3031Ln1O+3hG/M1UuwzdeL\r\n1wkLNRUpTa/+NQYlLXWt/t/kgEjlvcuyVtd8xbUm0Xb7rD76h7uWdl9luggi\r\nwPfLo/3Gvs8JIYALte3RgUArDZuXdjtZDLINptyyI0NU7VccRA/BA2GXAKMl\r\nrblNNePhDVYqY78WnbjgAw+fbOuO2adCghqwwjJ5cG8tGAdsoO0qtgKDIchU\r\nGCvHauUQXsqwjedArSsOzK3msgK7lURfvv8O5MWgWKQqJ5aTq+SHvdxaYyl1\r\nbVugx4gokoBb6bR7LO2FYs3oPuJjBzlr6xr+mODp22PLMzpyfq3UfHc04/Yz\r\ntqMIMvrRD2ob2fQX+bhnvwnYpYSPQCEQp2L5umD50PDX+OVQrwZrnE/hk/4F\r\nN1iAZTiAWOpiOJP03OVK9vsrvYmJq8Mb1sTDKRY011s0ImnFH17OGma5glwe\r\nrx81KrRbpw8JH3vIKnGwQScf2s5TJAFbNLB5KozBHBRY/MJTcfoPEoVxWRWd\r\nmFqejX4Bl8/YSFw6ZvXHY6tEodkIzYOvsYMUYZr+Qqz0BTYkSl4BzeUxUf7V\r\n5NBACUGfFqau+HpeqTsOp2F/fX2+1Dmq+z5LUUPvTsoStyoHnuYHnZqL+gp4\r\njxihMBr/Trm89CyuYRytW9jBkD61s2kI/TY=\r\n=2iKy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wolfiezero","email":"neil@wolfiezero.com"},"directories":{},"maintainers":[{"name":"wolfiezero","email":"neil@wolfiezero.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.1.0_1657189629351_0.7667007585443597"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-07T10:27:09.149Z","0.1.0":"2022-07-07T10:27:09.554Z","modified":"2022-07-07T10:27:09.695Z"},"maintainers":[{"name":"wolfiezero","email":"neil@wolfiezero.com"}],"description":"Sharable config for ESLint","homepage":"https://github.com/Dootrix/eslint-config#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Dootrix/eslint-config.git"},"author":{"name":"Neil Sweeney","email":"neil.sweeney@dootrix.com","url":"https://wolfiezero.com"},"bugs":{"url":"https://github.com/Dootrix/eslint-config/issues"},"license":"ISC","readme":"# @dootrix/eslint-config\n\nSharable config for [ESlint][eslint]\n\n## Installation\n\nInstall this config then run [install-peerdeps][ipeerdeps] to get dependencies\nas development dependencies.\n\n```\nnpm install https://github.com/Dootrix/eslint-config -D\nnpx install-peerdeps @dootrix/eslint-config --dev\n```\n\nOr pick the depenecies you need based on use case. (You may not need them all\nespcially if not working with TypeScript).\n\nThen in the .eslintrc.js file (or what ever you may call it)\n\n```js\nmodule.exports = {\n  root: true,\n  env: {\n    node: true,\n    amd: true,\n  },\n  extends: [\"@dootrix/eslint-config/javascript\", \"@dootrix/eslint-config/javascript/prettier\"],\n};\n```\n\nChanging the values as you need to...\n\n## Extending\n\nOptions for setups are as follows. Note that `prettier` configs should always be\nthe last item to include (if you want it).\n\n### JavaScript\n\n```\n@dootrix/eslint-config/javascript\n@dootrix/eslint-config/javascript/prettier\n```\n\n### TypeScript\n\n```\n@dootrix/eslint-config/typescript\n@dootrix/eslint-config/typescript/react\n@dootrix/eslint-config/typescript/prettier\n```\n\n## VSCode User?\n\nMake sure you have [ESLint extention][eslintvscode] installed and add the\nfollowing into the project's settings file (`/.vscode/settings.json`) (deleting\nas appropriate).\n\n```json\n{\n  \"[typescript]\": {\n    \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n  },\n  \"[javascript]\": {\n    \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n  },\n  \"[scss]\": {\n    \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n  },\n  \"[json]\": {\n    \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\n  },\n  \"typescript.format.enable\": false,\n  \"editor.formatOnSave\": true\n}\n```\n\n[eslint]: https://eslint.org/\n[eslintptions]: https://eslint.org/docs/user-guide/configuring/\n[eslintvscode]: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint\n[ipeerdeps]: https://www.npmjs.com/package/install-peerdeps\n","readmeFilename":"README.md"}