{"_id":"@antoniogiroz/eslint-config","_rev":"1-e32ea8b8165197bac54967934bbaac32","name":"@antoniogiroz/eslint-config","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@antoniogiroz/eslint-config","version":"1.0.0","packageManager":"pnpm@7.30.5","description":"Antonio Giroz's ESLint Config","keywords":["eslint-config"],"main":"index.js","peerDependencies":{"eslint":">=8.0.0","typescript":">=4.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"dependencies":{"@typescript-eslint/eslint-plugin":"^5.57.0","@typescript-eslint/parser":"^5.57.0","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.2","eslint-config-prettier":"^8.8.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsonc":"^2.7.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-n":"^15.7.0","eslint-plugin-no-only-tests":"^3.1.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-simple-import-sort":"^10.0.0","eslint-plugin-unicorn":"^46.0.0","eslint-plugin-unused-imports":"^2.0.0","eslint-plugin-vue":"^9.10.0","eslint-plugin-yml":"^1.5.0","jsonc-eslint-parser":"^2.2.0","local-pkg":"^0.4.3","prettier":"^2.8.7","yaml-eslint-parser":"^1.2.0"},"devDependencies":{"@changesets/cli":"^2.26.1","@commitlint/cli":"^17.5.1","@commitlint/config-conventional":"^17.4.4","@types/node":"^18.15.11","eslint":"^8.37.0","husky":"^8.0.3","lint-staged":"^13.2.0","typescript":"^5.0.2"},"scripts":{"lint":"eslint . --cache","lint:fix":"eslint . --fix","changeset":"changeset","version":"changeset version","release":"changeset publish"},"_id":"@antoniogiroz/eslint-config@1.0.0","_integrity":"sha512-N8lZtf+61eetYvSQJzgz4z0ofMm7QzLTZFai15FB/tdmg6b+yQbUpci37s/4UPFiI9MXd4Ii9Cy/arfXfE4/Iw==","_resolved":"/tmp/4b92d7572b5202c76d88061a44ab97b7/antoniogiroz-eslint-config-1.0.0.tgz","_from":"file:antoniogiroz-eslint-config-1.0.0.tgz","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-N8lZtf+61eetYvSQJzgz4z0ofMm7QzLTZFai15FB/tdmg6b+yQbUpci37s/4UPFiI9MXd4Ii9Cy/arfXfE4/Iw==","shasum":"574d160c4e8a104193f5312f1897fa81ad182d7f","tarball":"https://registry.npmjs.org/@antoniogiroz/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":8,"unpackedSize":20539,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdnknKVA711B+60R1bFwDR9I/FLw+rtOy0o9RHm2ugjAiEA2zmVIlEhZM87Oeya1yh6rMY+f5b8xwOViypGofSaKxs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJnuEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBKg/8CxnB1hOPYqtjZZl95CD0xtVk01sviKLpX9NaN/qyy88vTNyW\r\nzi8Gn5KzgM2/oLyJ9XxCydoQHfFCbdmcyybOiklFvO2mpErAwEEz5rEmrdLV\r\ns+QiNryXDsHIM1GvykrlGN5tdd6VJma/QHF4UiYr1P4VV42Q6hwbI0UD65Qt\r\n5R5qFCh8VCCyT9Egm0O1gDY6ZEDQP7c0wvATBQagy2ZlI6FQ1CCMgwr4U7DH\r\nJJ+upbTBh+BwT+nqya90WYYGY9H6N6UGp1me8ey1c7+P7CL8BPXRAHujizD0\r\ngSdyR0FSOVq15mMOUSQkhcMC5PBnoRHHQDH95fcqU7+OyLM8lXEmREa4thAG\r\nfYQc4j+umWq2/vM0d33fxSlywVkCyKvALTghYJvqkoDaU4TDXl4IhfW+22DV\r\n42gCXe/7gow/jZo9E01CyimkwU4byXlv2vqY5MnBiPMfvD4stgA/sUVGfBrn\r\naCLbfKwbiZa+sutRFHblfvf6XGPFtP4bx0ctv2KjEWlWzA/CHx9l/7JworB8\r\nyjlbA9c6PfjAOsK86vCG74goiSaV6elsIokBaYFeo0QW2tt6/uTKtYHVjoJ3\r\n5kh5MjW75JKFELnSIbBCb38KOAPevH5C+qD8Ey7Ee8hxOFJizupzTFpUqXQb\r\nEsEOqs0mlvTBte9+pwkqu5yI/9oMFKFuwMk=\r\n=niAr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"antoniogiroz","email":"antonioluisgil@gmail.com"},"directories":{},"maintainers":[{"name":"antoniogiroz","email":"antonioluisgil@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_1.0.0_1680243587784_0.5197218878180199"},"_hasShrinkwrap":false},"1.0.1":{"name":"@antoniogiroz/eslint-config","version":"1.0.1","packageManager":"pnpm@7.32.4","description":"Antonio Giroz's ESLint Config","keywords":["eslint-config"],"main":"index.js","peerDependencies":{"eslint":">=8.0.0","typescript":">=4.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"dependencies":{"@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.3","eslint-config-prettier":"^8.8.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsonc":"^2.8.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-n":"^15.7.0","eslint-plugin-no-only-tests":"^3.1.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-simple-import-sort":"^10.0.0","eslint-plugin-unicorn":"^46.0.1","eslint-plugin-unused-imports":"^2.0.0","eslint-plugin-vue":"^9.12.0","eslint-plugin-yml":"^1.7.0","jsonc-eslint-parser":"^2.3.0","local-pkg":"^0.4.3","prettier":"^2.8.8","yaml-eslint-parser":"^1.2.2"},"devDependencies":{"@changesets/cli":"^2.26.1","@commitlint/cli":"^17.6.3","@commitlint/config-conventional":"^17.6.3","@types/node":"^18.16.8","eslint":"^8.40.0","husky":"^8.0.3","lint-staged":"^13.2.2","typescript":"^5.0.4"},"scripts":{"lint":"eslint . --cache","lint:fix":"eslint . --fix","changeset":"changeset","version":"changeset version","release":"changeset publish"},"_id":"@antoniogiroz/eslint-config@1.0.1","_integrity":"sha512-vg/fksUSKdDuu9/icTJ6mrtfyJd27L79YLj7FtafH1bcrx1E06oliErcPnyNQUed7OjQMoEKiyu2cZ9AwvIawg==","_resolved":"/tmp/6b60bf60f0d80b60f677a5864948c5ba/antoniogiroz-eslint-config-1.0.1.tgz","_from":"file:antoniogiroz-eslint-config-1.0.1.tgz","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-vg/fksUSKdDuu9/icTJ6mrtfyJd27L79YLj7FtafH1bcrx1E06oliErcPnyNQUed7OjQMoEKiyu2cZ9AwvIawg==","shasum":"0dc4a66788d205dfd63f453a6ce7d1a92315089a","tarball":"https://registry.npmjs.org/@antoniogiroz/eslint-config/-/eslint-config-1.0.1.tgz","fileCount":8,"unpackedSize":20538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvkQvSF9zT0A2ETy0c9Rng/lm8CihyntNq95+J8vAFCwIhAMdImZRvFDcTSVLxbYCEHopQrZNImMTcGJz+CN3nkd6h"}]},"_npmUser":{"name":"antoniogiroz","email":"antonioluisgil@gmail.com"},"directories":{},"maintainers":[{"name":"antoniogiroz","email":"antonioluisgil@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_1.0.1_1683964022248_0.9926917361079259"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-31T06:19:47.685Z","1.0.0":"2023-03-31T06:19:48.011Z","modified":"2023-05-13T07:47:02.562Z","1.0.1":"2023-05-13T07:47:02.453Z"},"maintainers":[{"name":"antoniogiroz","email":"antonioluisgil@gmail.com"}],"description":"Antonio Giroz's ESLint Config","keywords":["eslint-config"],"readme":"# @antoniogiroz/eslint-config\n\nThis project is based on [@antfu/eslint-config](https://github.com/antfu/eslint-config#antfueslint-config) repository.\n\n- Single quotes, semi\n- Auto fix for formatting\n- Designed to work with TypeScript, Vue out-of-box\n- Lint also for json, yaml, markdown\n- Sorted imports, dangling commas for cleaner commit diff\n- Reasonable defaults, best practices, only one-line of config\n\n## Usage\n\n### Install\n\n```sh\n# npm\nnpm i -D eslint @antoniogiroz/eslint-config\n```\n\n### Config `.eslintrc`\n\n```json\n{\n  \"extends\": \"@antoniogiroz\"\n}\n```\n\nOr if you prefer you can point to a specific config.\n\n> You need to add `/eslint-config-{config}`\n\n```json\n{\n  \"extends\": \"@antoniogiroz/eslint-config-react\"\n}\n```\n\n> You don't need `.eslintignore` normally as it has been provided by the preset.\n\n### Add script for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint . --cache\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n### TypeScript Aware Rules\n\nType aware rules are enabled when a `tsconfig.eslint.json` is found in the project root, which will introduce some stricter rules into your project. If you want to enable it while have no `tsconfig.eslint.json` in the project root, you can change tsconfig name by modifying `ESLINT_TSCONFIG` env. \n\n```js\n// .eslintrc.js\nprocess.env.ESLINT_TSCONFIG = 'tsconfig.json'\nmodule.exports = {\n  extends: '@antoniogiroz'\n}\n```\n\n### Config VS Code auto fix\n\nInstall [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and create `.vscode/settings.json`\n\n```json\n{\n  \"prettier.enable\": false,\n  \"editor.formatOnSave\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n","readmeFilename":"README.md"}