{"_id":"@cretadoc/eslint-config","_rev":"4-a10d38d290b0dc41abb6b51b6d7b77ef","name":"@cretadoc/eslint-config","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@cretadoc/eslint-config","version":"1.0.0","keywords":["cretadoc","eslint","eslint-config"],"author":{"url":"https://www.armandphilippot.com/","name":"Armand Philippot","email":"contact@armandphilippot.com"},"license":"MIT","_id":"@cretadoc/eslint-config@1.0.0","maintainers":[{"name":"arphi","email":"ap@armandphilippot.com"}],"homepage":"https://github.com/ArmandPhilippot/cretadoc/tree/main/packages/eslint-config#readme","bugs":{"url":"https://github.com/ArmandPhilippot/cretadoc/issues"},"dist":{"shasum":"79752354371ba4ec2923e1f1735a6d5417a3f4f7","tarball":"https://registry.npmjs.org/@cretadoc/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":14,"integrity":"sha512-DBlaFNrWqs/jIYSONMuRlHSWhA+F/oXJUTwht9aSEvmc/VKhrZn1z5IJieWdn2pUCMuqf7D2g7vNiJ1ov0IN/w==","signatures":[{"sig":"MEUCIQCg6f+T7c0wmYOhnqO1PkrK+JywjJobERW9TtPOeR2hdgIgddB5FRkKwCcfeNPDy9qdYxyZtf0YPtc72VIXAiy4tNQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/1PoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqemQ/+MznsIelyfW6zvifK2W2X0WsmpNjnGGge6PRvuZfynoQstEmk\r\nS1R2lc4COWpUxHneaQYkDJXOO0Q0QKCSAjYKDVbyblzFwmKM4CL51ZUi9Rg0\r\nRINwW6rmN7nRq0rT1pUo8np0ewr4x4iqiZ7kWMZ+fLkLWwZuUWNWkt9bw7N3\r\ntp7rPzkg/iEkol1Klbj9Y93gkVWG8CW0yj2SXVzLFw1CnYgmXoivhAvTHbrn\r\n3QqfS/+sNRZwuBpWhRy/CK8VDOjNS4TadBKA9N2PZZZzTwzFbZeqXe9a/39M\r\nkHyh0qIXTVJ2BVqz4zZVK08NS+E3Uiv/BUuJK+CQLYAi2wNclcD/y44eivAp\r\nySP5+3Og+pRznM2INsokalkynQSIVG1itDnhXXNk5SmulTlpIdCjuxd/xpDK\r\nM4sFWcChmLEpc0DPh9XbmqA5w/kJ2lqhM37Io/COSTaxUNWEMdb94JEHG3sN\r\nlGd3XJhQVk+CZcQTzkJqTpAbxuweVjB+wgIJvavjz8DqQiyxAayyVxkXeE4w\r\nEt8RyhTZC/AZs5Nn4wSUEpGp8wmwI1Ixutob3MHz1AkGqJEEnwm135fZovQJ\r\nSEQJN5s7fQWJly/Y1Ot0zh7HjJkopGatGYlVv8huUthu7jUQweS5KSYiJuJo\r\noEYT7myjfhk5aRWZHLx1SezhdoyDuwXdn+s=\r\n=NnKu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:cretadoc-eslint-config-1.0.0.tgz","engines":{"node":">=14.6.0"},"scripts":{"fix":"eslint --fix --ext .js,.cjs,.mjs,.ts","lint":"eslint --ext .js,.cjs,.mjs,.ts","release":"commit-and-tag-version -s --no-verify"},"_npmUser":{"name":"arphi","email":"ap@armandphilippot.com"},"_resolved":"/tmp/a2137f75828be619300e2c2b51ec1284/cretadoc-eslint-config-1.0.0.tgz","_integrity":"sha512-DBlaFNrWqs/jIYSONMuRlHSWhA+F/oXJUTwht9aSEvmc/VKhrZn1z5IJieWdn2pUCMuqf7D2g7vNiJ1ov0IN/w==","repository":{"url":"git+ssh://git@github.com/ArmandPhilippot/cretadoc.git","type":"git","directory":"packages/eslint-config"},"_npmVersion":"8.19.2","description":"The ESLint rules for Cretadoc packages.","directories":{},"_nodeVersion":"19.6.0","dependencies":{"eslint-plugin-react":"^7.32.0","eslint-plugin-jsx-a11y":"^6.7.0","eslint-plugin-storybook":"^0.6.0","eslint-plugin-react-hooks":"^4.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.28.0","devDependencies":{"eslint":"^8.34.0","typescript":"^4.9.5","eslint-plugin-react":"^7.32.2","eslint-plugin-import":"^2.27.5","commit-and-tag-version":"^11.1.0","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.11","@typescript-eslint/parser":"^5.52.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^5.52.0","eslint-import-resolver-typescript":"^3.5.3"},"peerDependencies":{"eslint":"^7.23.0 || ^8.0.0","eslint-plugin-import":"^2.27.0","@typescript-eslint/parser":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","eslint-import-resolver-typescript":"^3.5.0"},"optionalDependencies":{"eslint-plugin-react":"^7.32.0","eslint-plugin-jsx-a11y":"^6.7.0","eslint-plugin-storybook":"^0.6.0","eslint-plugin-react-hooks":"^4.6.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.0_1677677544213_0.5354376811603578","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"@cretadoc/eslint-config","version":"1.0.1","keywords":["cretadoc","eslint","eslint-config"],"author":{"url":"https://www.armandphilippot.com/","name":"Armand Philippot","email":"contact@armandphilippot.com"},"license":"MIT","_id":"@cretadoc/eslint-config@1.0.1","maintainers":[{"name":"arphi","email":"ap@armandphilippot.com"}],"homepage":"https://github.com/ArmandPhilippot/cretadoc/tree/main/packages/eslint-config#readme","bugs":{"url":"https://github.com/ArmandPhilippot/cretadoc/issues"},"dist":{"shasum":"1decb3e0082abbb3571a011cafe30f4ba1e7b0b8","tarball":"https://registry.npmjs.org/@cretadoc/eslint-config/-/eslint-config-1.0.1.tgz","fileCount":14,"integrity":"sha512-jektaGdhoRiVmwSA80gbhka8I8zIkhhuG+XvrW+i7Bg8Xtd+ttZDsBBrk4uUV6+Vr0IVx9Eg/DJWeE4DQZihTA==","signatures":[{"sig":"MEUCIAKeiQFEoPc2kJw/WJCyGQmy++jLfU6vdkxgvnmA0g8TAiEA/4tK6fK14xZYHdVbY9dCLNIusFXmYXNsQsQyakEda7M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51587},"main":"index.js","_from":"file:cretadoc-eslint-config-1.0.1.tgz","engines":{"node":">=14.6.0"},"scripts":{"fix":"eslint --fix --ext .js,.cjs,.mjs,.ts","lint":"eslint --ext .js,.cjs,.mjs,.ts","release":"commit-and-tag-version -s --no-verify"},"_npmUser":{"name":"arphi","email":"ap@armandphilippot.com"},"_resolved":"/tmp/b09a3db1f8faba4fe03015b74e6fb7b4/cretadoc-eslint-config-1.0.1.tgz","_integrity":"sha512-jektaGdhoRiVmwSA80gbhka8I8zIkhhuG+XvrW+i7Bg8Xtd+ttZDsBBrk4uUV6+Vr0IVx9Eg/DJWeE4DQZihTA==","repository":{"url":"git+ssh://git@github.com/ArmandPhilippot/cretadoc.git","type":"git","directory":"packages/eslint-config"},"_npmVersion":"9.8.1","description":"The ESLint rules for Cretadoc packages.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"eslint-plugin-react":"^7.33.2","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.13","eslint-plugin-react-hooks":"^4.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"eslint":"^8.47.0","typescript":"^5.1.6","eslint-plugin-react":"^7.32.2","eslint-plugin-import":"^2.28.1","commit-and-tag-version":"^11.2.3","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.11","@typescript-eslint/parser":"^6.4.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.4.1","eslint-import-resolver-typescript":"^3.6.0"},"peerDependencies":{"eslint":"^7.23.0 || ^8.0.0","eslint-plugin-import":"^2.27.0","@typescript-eslint/parser":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.0.0","eslint-import-resolver-typescript":"^3.5.0"},"optionalDependencies":{"eslint-plugin-react":"^7.33.2","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.13","eslint-plugin-react-hooks":"^4.6.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.1_1692794180584_0.49646067646939596","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.0":{"name":"@cretadoc/eslint-config","version":"1.1.0","keywords":["cretadoc","eslint","eslint-config"],"author":{"url":"https://www.armandphilippot.com/","name":"Armand Philippot","email":"contact@armandphilippot.com"},"license":"MIT","_id":"@cretadoc/eslint-config@1.1.0","maintainers":[{"name":"arphi","email":"ap@armandphilippot.com"}],"homepage":"https://github.com/ArmandPhilippot/cretadoc/tree/main/packages/eslint-config#readme","bugs":{"url":"https://github.com/ArmandPhilippot/cretadoc/issues"},"dist":{"shasum":"91229512881ab4421e115ae9bd4c30344eaca4ed","tarball":"https://registry.npmjs.org/@cretadoc/eslint-config/-/eslint-config-1.1.0.tgz","fileCount":14,"integrity":"sha512-vef+8/ON/5BbFHPWX/SwcZ6O3y5ZtYw84FLBvRgVlfZCo6tydfkZj1hBPs7DJxhHPshuJE41hGujoOE7AY3PFA==","signatures":[{"sig":"MEUCIHvgyBjphbven+YE17e0UExWj/huDBG8Wd/Dl+T1Gy0tAiEA5NmlzOs8bNS7mHViS2WKz64mkXZ9pqHx4FM41ieKxco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51983},"main":"index.js","_from":"file:cretadoc-eslint-config-1.1.0.tgz","engines":{"node":">=14.6.0"},"scripts":{"fix":"eslint --fix --ext .js,.cjs,.mjs,.ts","lint":"eslint --ext .js,.cjs,.mjs,.ts","release":"commit-and-tag-version -s --no-verify"},"_npmUser":{"name":"arphi","email":"ap@armandphilippot.com"},"_resolved":"/tmp/ef15f8f130511c52b7ba858fb010ed94/cretadoc-eslint-config-1.1.0.tgz","_integrity":"sha512-vef+8/ON/5BbFHPWX/SwcZ6O3y5ZtYw84FLBvRgVlfZCo6tydfkZj1hBPs7DJxhHPshuJE41hGujoOE7AY3PFA==","repository":{"url":"git+ssh://git@github.com/ArmandPhilippot/cretadoc.git","type":"git","directory":"packages/eslint-config"},"_npmVersion":"9.8.1","description":"The ESLint rules for Cretadoc packages.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"eslint-plugin-react":"^7.33.2","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.13","eslint-plugin-react-hooks":"^4.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.6.12","devDependencies":{"eslint":"^8.47.0","typescript":"^5.1.6","eslint-plugin-react":"^7.32.2","eslint-plugin-import":"^2.28.1","commit-and-tag-version":"^11.2.3","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.11","@typescript-eslint/parser":"^6.4.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.4.1","eslint-import-resolver-typescript":"^3.6.0"},"peerDependencies":{"eslint":">=7.23.0 || >=8.0.0","eslint-plugin-import":"^2.27.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0","eslint-import-resolver-typescript":"^3.5.0"},"optionalDependencies":{"eslint-plugin-react":"^7.33.2","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-storybook":"^0.6.13","eslint-plugin-react-hooks":"^4.6.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.1.0_1692885087671_0.9576651183428109","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-03-01T13:32:24.137Z","modified":"2025-10-18T17:18:40.668Z","1.0.0":"2023-03-01T13:32:24.364Z","1.0.1":"2023-08-23T12:36:20.783Z","1.1.0":"2023-08-24T13:51:27.832Z"},"bugs":{"url":"https://github.com/ArmandPhilippot/cretadoc/issues"},"author":{"url":"https://www.armandphilippot.com/","name":"Armand Philippot","email":"contact@armandphilippot.com"},"license":"MIT","homepage":"https://github.com/ArmandPhilippot/cretadoc/tree/main/packages/eslint-config#readme","keywords":["cretadoc","eslint","eslint-config"],"repository":{"url":"git+ssh://git@github.com/ArmandPhilippot/cretadoc.git","type":"git","directory":"packages/eslint-config"},"description":"The ESLint rules for Cretadoc packages.","maintainers":[{"name":"arphi","email":"ap@armandphilippot.com"}],"readme":"# @cretadoc/eslint-config\n\nIt provides ESlint configuration for Cretadoc packages.\n\n## Introduction\n\nThis package extends the `eslint:recommended` preset. So, the rules already activated by the preset are not listed unless options differ or we need to deactivate them for some reason.\n\nThe others rules are listed in alphabetical order without regards to the section where they appear on the [\"Rules reference\"](https://eslint.org/docs/latest/rules/) page.\n\nSome rules have options. These options are explicitly defined even when they match the default ones to prevent unexpected changes in `eslint:recommended`.\n\n## Install\n\n```\nnpm install --save-dev eslint eslint-plugin-import @cretadoc/eslint-config\n```\n\n```\nyarn add -D eslint eslint-plugin-import @cretadoc/eslint-config\n```\n\n```\npnpm add -D eslint eslint-plugin-import @cretadoc/eslint-config\n```\n\n## Usage\n\nCreate an `.eslintrc` file with:\n\n```json\n{\n  \"root\": true,\n  \"extends\": \"@cretadoc/eslint-config\"\n}\n```\n\nOr add the config to your `package.json`:\n\n```json\n{\n  \"name\": \"your-package\",\n  \"eslintConfig\": {\n    \"root\": true,\n    \"extends\": \"@cretadoc/eslint-config\"\n  }\n}\n```\n\n### With Typescript\n\nYou should install some specific packages in addition:\n\n```\npnpm add -D @typescript-eslint/parser @typescript-eslint/eslint-plugin typescript\n```\n\nBy default, ESlint is configured to find the nearest `tsconfig.json` file in your project. You can override this behavior and tells ESlint which config should be used by adding the following lines to your ESlint config:\n\n```json\n{\n  \"parserOptions\": {\n    \"project\": true,\n    \"tsconfigRootDir\": __dirname\n  }\n}\n```\n\n### With React\n\nThis package also provides a shareable configuration for React projects. You should install some specific packages in addition:\n\n```\npnpm add -D eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks\n```\n\nCreate an `.eslintrc` file with:\n\n```json\n{\n  \"root\": true,\n  \"extends\": \"@cretadoc/eslint-config/react\"\n}\n```\n\nOr add the config to your `package.json`:\n\n```json\n{\n  \"name\": \"your-package\",\n  \"eslintConfig\": {\n    \"root\": true,\n    \"extends\": \"@cretadoc/eslint-config/react\"\n  }\n}\n```\n\nIf you are using Storybook, you should also install `eslint-plugin-storybook`. However, this plugin does not support MDX files.\n\n## License\n\nThis package is released under the [MIT license](./LICENSE).\n\nThe documentation (Markdown files) is released under a [Creative Commons license](./LICENSE-docs).\n","readmeFilename":"README.md"}