{"_id":"@code-shaper/eslint-config","_rev":"4-dad54503b4a2bbd9e1455def1b31624d","name":"@code-shaper/eslint-config","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"@code-shaper/eslint-config","version":"1.0.0","license":"MIT","_id":"@code-shaper/eslint-config@1.0.0","maintainers":[{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"}],"homepage":"https://github.com/code-shaper/code-shaper#readme","bugs":{"url":"https://github.com/code-shaper/code-shaper/issues"},"dist":{"shasum":"115ddfa73f39a101f39c0d8a9be0fc1c2414eb63","tarball":"https://registry.npmjs.org/@code-shaper/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":7,"integrity":"sha512-6VPZ735dEKBRxCVvrUET0RYIr+lnweCssXDcupedIArA2Q48nKhUPkOu4dQLjHN9mvnXCUvDRCe10g0whOYiyA==","signatures":[{"sig":"MEUCIGagwsbdJDZrISDLqKrrBWV3s2QTSM1PxgovXg8KzVuIAiEAp0Q2z82LXGNElWrwxBYIjkeBOSc1VQi3xr7qNVE/wOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18135},"main":"index.js","gitHead":"00c51f0a64907cbd0185436f01041de7bfd98b9c","scripts":{"clean":"rimraf node_modules"},"_npmUser":{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"},"repository":{"url":"git+https://github.com/code-shaper/code-shaper.git","type":"git","directory":"configs/eslint-config"},"_npmVersion":"10.2.3","description":"Code Shaper ESLint configuration","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint-plugin-jest":"^27.9.0","eslint-plugin-react":"^7.34.1","eslint-plugin-import":"^2.29.1","eslint-plugin-regexp":"^1.15.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.10.0","eslint-plugin-jest-dom":"^5.2.0","eslint-plugin-jsx-a11y":"^6.8.0","eslint-plugin-only-error":"^1.0.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-tailwindcss":"^3.15.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-testing-library":"^5.11.1","@typescript-eslint/eslint-plugin":"^5.62.0","eslint-import-resolver-typescript":"^3.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0"},"peerDependencies":{"eslint":">= 8"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.0_1712249478120_0.9605358940191813","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@code-shaper/eslint-config","version":"1.0.1","license":"MIT","_id":"@code-shaper/eslint-config@1.0.1","maintainers":[{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"}],"homepage":"https://github.com/code-shaper/code-shaper#readme","bugs":{"url":"https://github.com/code-shaper/code-shaper/issues"},"dist":{"shasum":"8cdf93464fb57a88cebb595019d7215521f0e460","tarball":"https://registry.npmjs.org/@code-shaper/eslint-config/-/eslint-config-1.0.1.tgz","fileCount":7,"integrity":"sha512-RFF3SyGEvan++ANVW+GPOfaJ+wtUlGZDR6VzXJrcIzEJDphG4pLID/hdrt8nBpOCOn9haCUKZosYBYbrIuMogg==","signatures":[{"sig":"MEUCIGnD+MvwRbswfrl+un/C8RrkVz0xxxvUuq501lmUpSM1AiEAjMcXRv4Sxsj2DHo8bzTUUvNM0Nu1OfhbBi4/f/E1UTM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18376},"main":"index.js","gitHead":"f0058e94d628f819e0288c3fad01290cfc3ff73f","scripts":{"clean":"rimraf node_modules"},"_npmUser":{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"},"repository":{"url":"git+https://github.com/code-shaper/code-shaper.git","type":"git","directory":"configs/eslint-config"},"_npmVersion":"10.2.3","description":"Code Shaper ESLint configuration","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint-plugin-jest":"^27.9.0","eslint-plugin-react":"^7.34.1","eslint-plugin-import":"^2.29.1","eslint-plugin-regexp":"^1.15.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.10.0","eslint-plugin-jest-dom":"^5.2.0","eslint-plugin-jsx-a11y":"^6.8.0","eslint-plugin-only-error":"^1.0.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-tailwindcss":"^3.15.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-testing-library":"^5.11.1","@typescript-eslint/eslint-plugin":"^5.62.0","eslint-import-resolver-typescript":"^3.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0"},"peerDependencies":{"eslint":">= 8"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.1_1713241161377_0.5902373293435412","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@code-shaper/eslint-config","version":"1.0.2","license":"MIT","_id":"@code-shaper/eslint-config@1.0.2","maintainers":[{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"}],"homepage":"https://github.com/code-shaper/code-shaper#readme","bugs":{"url":"https://github.com/code-shaper/code-shaper/issues"},"dist":{"shasum":"f28d24cc04bf52ca2f9bb236fcbf38b3236262f4","tarball":"https://registry.npmjs.org/@code-shaper/eslint-config/-/eslint-config-1.0.2.tgz","fileCount":7,"integrity":"sha512-z4TtQd4Xvip6Wyk4LyEoew5hgGoVP7OS6rprfLT5d5iysMwD1cL4exffrbksxIeYMbetZnXNhM8MZqZH01jKRg==","signatures":[{"sig":"MEYCIQCjYs9onRnYReJwJF6BYCXVVg2xkLTPqnZma0FHmltnVgIhAKUIzI98NZaoBgvvk+XGxBWemLiqjsvpzjc0NExJMyEj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18465},"main":"index.js","gitHead":"10953b277c35d4993f98e72e66302ad000d3855d","scripts":{"clean":"rimraf node_modules"},"_npmUser":{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"},"repository":{"url":"git+https://github.com/code-shaper/code-shaper.git","type":"git","directory":"configs/eslint-config"},"_npmVersion":"10.2.3","description":"Code Shaper ESLint configuration","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint-plugin-jest":"^27.9.0","eslint-plugin-react":"^7.34.1","eslint-plugin-import":"^2.29.1","eslint-plugin-regexp":"^2.5.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.10.0","eslint-plugin-jest-dom":"^5.4.0","eslint-plugin-jsx-a11y":"^6.8.0","eslint-plugin-only-error":"^1.0.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-tailwindcss":"^3.15.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-testing-library":"^6.2.2","@typescript-eslint/eslint-plugin":"^7.7.0","eslint-import-resolver-typescript":"^3.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0"},"peerDependencies":{"eslint":">= 8"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.2_1713645908555_0.9071811365123805","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@code-shaper/eslint-config","version":"2.0.0","license":"MIT","_id":"@code-shaper/eslint-config@2.0.0","maintainers":[{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"}],"homepage":"https://github.com/code-shaper/code-shaper#readme","bugs":{"url":"https://github.com/code-shaper/code-shaper/issues"},"dist":{"shasum":"e4bea0085b15ae26603160f3c3dda2d86f2e031b","tarball":"https://registry.npmjs.org/@code-shaper/eslint-config/-/eslint-config-2.0.0.tgz","fileCount":7,"integrity":"sha512-UHxt0jHU8RY6HjnqMHBdXnu7y+21OodbI0mWyrG4lNxVqTiGuAj9JgW/m1vni2TnEy0FsLIsP0vNiXOMhtloIA==","signatures":[{"sig":"MEQCIEXLWqxpWFvVWwxL9E3Xb5o73SbsuJqfm15+RTfpdJnyAiBOgyfB01MRDXX9vSirW+r5ll10w/Ipr+WUxz1UtE9aFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18944},"main":"index.js","gitHead":"9cafddaccfb00a2b9b70858ab4ecfcca0d1aa90d","scripts":{"clean":"rimraf node_modules"},"_npmUser":{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"},"repository":{"url":"git+https://github.com/code-shaper/code-shaper.git","type":"git","directory":"configs/eslint-config"},"_npmVersion":"10.2.3","description":"Code Shaper ESLint configuration","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"eslint":"^8.*","eslint-plugin-jest":"^28.*","eslint-plugin-react":"^7.*","eslint-plugin-import":"^2.*","eslint-plugin-regexp":"^2.*","eslint-plugin-promise":"^7.*","eslint-config-prettier":"^9.*","eslint-plugin-jest-dom":"^5.*","eslint-plugin-jsx-a11y":"^6.*","eslint-plugin-only-error":"^1.*","eslint-plugin-react-hooks":"^4.*","eslint-plugin-tailwindcss":"^3.*","eslint-plugin-eslint-comments":"^3.*","eslint-plugin-testing-library":"^6.*","@typescript-eslint/eslint-plugin":"^7.* || ^8.*","eslint-import-resolver-typescript":"^3.*"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_2.0.0_1723862940270_0.17288465129962227","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@code-shaper/eslint-config","description":"Code Shaper ESLint configuration","version":"2.0.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/code-shaper/code-shaper.git","directory":"configs/eslint-config"},"publishConfig":{"access":"public"},"main":"index.js","scripts":{"clean":"rimraf node_modules"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^7.18.0","eslint":"^8.57.1","eslint-config-prettier":"^9.1.0","eslint-import-resolver-typescript":"^3.8.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.31.0","eslint-plugin-jest":"^28.11.0","eslint-plugin-jest-dom":"^5.5.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-only-error":"^1.0.2","eslint-plugin-promise":"^7.2.1","eslint-plugin-react":"^7.37.4","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-regexp":"^2.7.0","eslint-plugin-testing-library":"^6.5.0"},"peerDependencies":{"@typescript-eslint/eslint-plugin":"^7.* || ^8.*","eslint":"^8.*","eslint-config-prettier":"^9.*","eslint-import-resolver-typescript":"^3.*","eslint-plugin-eslint-comments":"^3.*","eslint-plugin-import":"^2.*","eslint-plugin-jest":"^28.*","eslint-plugin-jest-dom":"^5.*","eslint-plugin-jsx-a11y":"^6.*","eslint-plugin-only-error":"^1.*","eslint-plugin-promise":"^7.*","eslint-plugin-react":"^7.*","eslint-plugin-react-hooks":"^4.*","eslint-plugin-regexp":"^2.*","eslint-plugin-testing-library":"^6.*"},"_id":"@code-shaper/eslint-config@2.0.1","gitHead":"23f948cc94d7317c2ff84693523c398c65073f41","bugs":{"url":"https://github.com/code-shaper/code-shaper/issues"},"homepage":"https://github.com/code-shaper/code-shaper#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-4Zn2p81Kj7uFQIFOAp86VlRNFjRXFuCNNL8ZF/03i/ZHsecZ+dTb8yML25OjPHoCXrM39fw8BqvqQBQenFD2yg==","shasum":"6f5ed3f76a6b54778d26caed910b6bf66854c46c","tarball":"https://registry.npmjs.org/@code-shaper/eslint-config/-/eslint-config-2.0.1.tgz","fileCount":7,"unpackedSize":19008,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCsBfw1rY9PPoJ0HRC5PYVPfGGRu51Epok81fFHJ3Y4cwIhAPPlbSzFfDJ6arBS4VNETee1ZhAjyfE/qurwuiqFdj4L"}]},"_npmUser":{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"},"directories":{},"maintainers":[{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config_2.0.1_1740285311382_0.7910311025889789"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-04T16:51:18.037Z","modified":"2025-02-23T04:35:11.781Z","1.0.0":"2024-04-04T16:51:18.275Z","1.0.1":"2024-04-16T04:19:21.533Z","1.0.2":"2024-04-20T20:45:08.696Z","2.0.0":"2024-08-17T02:49:00.417Z","2.0.1":"2025-02-23T04:35:11.570Z"},"bugs":{"url":"https://github.com/code-shaper/code-shaper/issues"},"license":"MIT","homepage":"https://github.com/code-shaper/code-shaper#readme","repository":{"type":"git","url":"git+https://github.com/code-shaper/code-shaper.git","directory":"configs/eslint-config"},"description":"Code Shaper ESLint configuration","maintainers":[{"name":"nareshbhatia","email":"naresh.archfirst@gmail.com"}],"readme":"# eslint-config\n\nThis package publishes 4 shared ESLint configurations:\n\n1. `@code-shaper/eslint-config`: Default configuration pointing to\n   `@code-shaper/eslint-config-lenient`\n2. `@code-shaper/eslint-config-lenient`: A lenient configuration for code bases\n   that don't follow very opinionated coding conventions\n3. `@code-shaper/eslint-config-strict`: A strict configuration for code bases\n   that follow very opinionated coding conventions\n4. `@code-shaper/eslint-config/strict-react`: The strict configuration +\n   additional rules for React.\n\n## Installation\n\n```shell\nnpm install -D @code-shaper/eslint-config\n```\n\nThen modify your `.eslintrc.js` to extend one of the above configurations, e.g.\n\n```js\nmodule.exports = {\n  root: true,\n  env: { node: true },\n  extends: ['@code-shaper/eslint-config/strict-react'],\n};\n```\n\nAdd the following dependencies to your `package.json`:\n\n```json\n{\n  \"dependencies\": {\n    \"@typescript-eslint/eslint-plugin\": \"^8.*\",\n    \"eslint\": \"^8.*\",\n    \"eslint-config-prettier\": \"^9.*\",\n    \"eslint-import-resolver-typescript\": \"^3.*\",\n    \"eslint-plugin-eslint-comments\": \"^3.*\",\n    \"eslint-plugin-import\": \"^2.*\",\n    \"eslint-plugin-jest\": \"^28.*\",\n    \"eslint-plugin-jest-dom\": \"^5.*\",\n    \"eslint-plugin-jsx-a11y\": \"^6.*\",\n    \"eslint-plugin-only-error\": \"^1.*\",\n    \"eslint-plugin-promise\": \"^7.*\",\n    \"eslint-plugin-react\": \"^7.*\",\n    \"eslint-plugin-react-hooks\": \"^4.*\",\n    \"eslint-plugin-regexp\": \"^2.*\",\n    \"eslint-plugin-testing-library\": \"^6.*\"\n  }\n}\n```\n\n> Note: If you are using `eslint-config-next` version 14, you may have to\n> downgrade `@typescript-eslint/eslint-plugin` to version 7.\n> `eslint-config-next` does not support `@typescript-eslint/eslint-plugin`\n> version 8 yet.\n\n## Plugins\n\nThis config pulls in the following eslint rules/plugins. In addition to these\nplugins, there are a few customizations that have been made to select individual\nrules. These customizations and rules are clearly marked in the source code.\n\n### eslint\n\nApplies the following [rules](https://eslint.org/docs/latest/rules/) to all\nJavaScript and TypeScript files:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-typescript\n\nApplies the following [rules](https://typescript-eslint.io/rules/) to all\nTypescript files:\n\n- all recommended rules\n- all recommended-requiring-type-checking rules\n- all strict rules\n- all automatically fixable rules\n\n### eslint-plugin-import\n\nApplies the following [rules](https://github.com/import-js/eslint-plugin-import)\nto all JavaScript and TypeScript files:\n\n- all recommended rules\n- all typescript rules (only applied to TypeScript files)\n- all react rules (only applied to TypeScript files)\n- all automatically fixable rules\n\n### eslint-plugin-promise\n\nApplies the following\n[rules](https://github.com/eslint-community/eslint-plugin-promise) to all\nJavaScript and TypeScript files:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-regexp\n\nApplies the following [rules](https://github.com/ota-meshi/eslint-plugin-regexp)\nto all JavaScript and TypeScript files:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-eslint-comments\n\nApplies the following\n[rules](https://github.com/mysticatea/eslint-plugin-eslint-comments) to all\nJavaScript and TypeScript files:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-jsx-a11y\n\nApplies the following\n[rules](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) to all TypeScript\nfiles:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-react\n\nApplies the following [rules](https://github.com/jsx-eslint/eslint-plugin-react)\nto all TypeScript files:\n\n- all recommended rules\n- all jsx-runtime rules\n- all automatically fixable rules\n\n### eslint-plugin-react-hooks\n\nApplies the following\n[rules](https://www.npmjs.com/package/eslint-plugin-react-hooks) to all\nTypeScript files:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-jest\n\nApplies the following\n[rules](https://github.com/jest-community/eslint-plugin-jest) to all JavaScript\nand TypeScript test files:\n\n- all recommended rules\n- all style rules\n- all automatically fixable rules\n\n### eslint-plugin-jest-dom\n\nApplies the following\n[rules](https://github.com/testing-library/eslint-plugin-jest-dom) to all\nJavaScript and TypeScript test files:\n\n- all recommended rules\n- all automatically fixable rules\n\n### eslint-plugin-testing-library\n\nApplies the following\n[rules](https://github.com/testing-library/eslint-plugin-testing-library) to all\nJavaScript and TypeScript test files:\n\n- all react rules\n- all automatically fixable rules\n\n### eslint-config-prettier\n\nApplies the\n[eslint-config-prettier](https://github.com/prettier/eslint-config-prettier)\nplugin to disable all rules that would be covered by or would conflict with\n[prettier](https://prettier.io/docs/en/configuration.html). It is recommended to\nrun prettier separately, _after_ running eslint.\n\n### eslint-plugin-only-error\n\nApplies the\n[only-error](https://github.com/davidjbradshaw/eslint-plugin-only-error) plugin\nto treat _all_ lint warnings as errors.\n","readmeFilename":"README.md"}