{"_id":"@charlietango/eslint-config","_rev":"2-6610d067d8531628db3198df384c53f9","name":"@charlietango/eslint-config","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.0":{"name":"@charlietango/eslint-config","version":"2.0.0","author":{"name":"Charlie Tango"},"license":"MIT","_id":"@charlietango/eslint-config@2.0.0","maintainers":[{"name":"thebuilder","email":"dsc@charlietango.dk"},{"name":"frederik_bosch","email":"frederik@bosch.dev"}],"dist":{"shasum":"ec8fe9d0c92751fb19f5c3b76c128b03a7754bf2","tarball":"https://registry.npmjs.org/@charlietango/eslint-config/-/eslint-config-2.0.0.tgz","fileCount":6,"integrity":"sha512-MfBEyrLxEsCFhX675fGvGFNMjm1U3kk7VTTY9N/+Vn5gWLpaLqEXDFAnX34bGSZDoKrY27n2JtumdDvdi6yP7g==","signatures":[{"sig":"MEUCIDHRUO5hMTUIaPLeEISn5AA19xhty0myZf1rrxSEF09pAiEAy/6h2FfmoBOCZSSrZTFD9/KIJdJwQi8p29iNFn69kLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9338},"main":"index.js","type":"module","_from":"file:charlietango-eslint-config-2.0.0.tgz","module":"index.js","engines":{"node":">=18"},"exports":{".":{"default":"./index.js"},"./rules/*":{"default":"./rules/*.js"}},"scripts":{"test":"eslint .","prepublish":"pnpm test"},"_npmUser":{"name":"thebuilder","email":"dsc@charlietango.dk"},"_resolved":"/private/var/folders/p5/tm71xcr14zxc79djjz0vfn0m0000gn/T/d0ce2ee820776f52949bf5c7b7657003/charlietango-eslint-config-2.0.0.tgz","_integrity":"sha512-MfBEyrLxEsCFhX675fGvGFNMjm1U3kk7VTTY9N/+Vn5gWLpaLqEXDFAnX34bGSZDoKrY27n2JtumdDvdi6yP7g==","_npmVersion":"10.8.2","description":"Provide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@eslint/js":"^9.13.0","typescript-eslint":"^8.11.0","eslint-plugin-react":"^7.37.2","eslint-plugin-jsx-a11y":"^6.10.1","confusing-browser-globals":"^1.0.11","eslint-plugin-react-hooks":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","eslint":"^9.13.0","prettier":"^3.3.3","typescript":"^5.6.3","tailwindcss":"^3.4.14","@types/eslint":"^9.6.1","@types/eslint__js":"^8.42.3"},"peerDependencies":{"eslint":"^9.0.0","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_2.0.0_1729852173065_0.19561072765358345","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@charlietango/eslint-config","version":"2.0.1","author":{"name":"Charlie Tango"},"license":"MIT","_id":"@charlietango/eslint-config@2.0.1","maintainers":[{"name":"thebuilder","email":"dsc@charlietango.dk"},{"name":"frederik_bosch","email":"frederik@bosch.dev"}],"dist":{"shasum":"6e1eefaaf0063f78ed1187ad84f72691072c0389","tarball":"https://registry.npmjs.org/@charlietango/eslint-config/-/eslint-config-2.0.1.tgz","fileCount":6,"integrity":"sha512-GHCFrrXIm60iJCVb35VvKEQuhTvkLcpKRkTvPgI73JGYdcbOAhmz4H4A831OdCMqHqm57p6JCsb43Z48gTB2MQ==","signatures":[{"sig":"MEQCIGYOyzFwnHvwu/N0sslOM5Ap58vfJ3xp/HicK+Q70zJmAiALTwODU/LJPcIrDNGugffj79hmw9GhUI10t6bxvU5TtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10330},"main":"index.js","type":"module","_from":"file:charlietango-eslint-config-2.0.1.tgz","module":"index.js","engines":{"node":">=18"},"exports":{".":{"default":"./index.js"},"./rules/*":{"default":"./rules/*.js"}},"scripts":{"test":"eslint .","prepublish":"pnpm test"},"_npmUser":{"name":"thebuilder","email":"dsc@charlietango.dk"},"_resolved":"/private/var/folders/p5/tm71xcr14zxc79djjz0vfn0m0000gn/T/77cea47dac3175f5673f6c752efba7c9/charlietango-eslint-config-2.0.1.tgz","_integrity":"sha512-GHCFrrXIm60iJCVb35VvKEQuhTvkLcpKRkTvPgI73JGYdcbOAhmz4H4A831OdCMqHqm57p6JCsb43Z48gTB2MQ==","_npmVersion":"10.8.2","description":"Provide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"globals":"^15.11.0","@eslint/js":"^9.13.0","typescript-eslint":"^8.11.0","eslint-plugin-react":"^7.37.2","eslint-plugin-jsx-a11y":"^6.10.1","confusing-browser-globals":"^1.0.11","eslint-plugin-react-hooks":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","eslint":"^9.13.0","prettier":"^3.3.3","typescript":"^5.6.3","tailwindcss":"^3.4.14","@types/eslint":"^9.6.1","@types/eslint__js":"^8.42.3"},"peerDependencies":{"eslint":"^9.0.0","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_2.0.1_1729859716634_0.4345994858186375","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@charlietango/eslint-config","version":"2.0.2","main":"index.js","module":"index.js","author":{"name":"Charlie Tango"},"type":"module","license":"MIT","engines":{"node":">=18"},"exports":{".":{"default":"./index.js"},"./rules/*":{"default":"./rules/*.js"}},"scripts":{"test":"eslint .","prepublish":"pnpm test","release":"bumpp && npm publish"},"dependencies":{"@eslint/js":"^9.13.0","confusing-browser-globals":"^1.0.11","eslint-plugin-jsx-a11y":"^6.10.1","eslint-plugin-react":"^7.37.2","eslint-plugin-react-hooks":"^5.0.0","globals":"^15.11.0","typescript-eslint":"^8.11.0"},"devDependencies":{"@types/eslint":"^9.6.1","@types/eslint__js":"^8.42.3","bumpp":"^9.8.1","eslint":"^9.13.0","prettier":"^3.3.3","react":"^18.3.1","tailwindcss":"^3.4.14","typescript":"^5.6.3"},"peerDependencies":{"eslint":"^9.0.0","typescript":"*"},"packageManager":"pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228","_id":"@charlietango/eslint-config@2.0.2","gitHead":"afd47c6b80992f0a1a32874d9fad5c5c1df4e64a","description":"Provide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-FJk1Q2L6/KV1vSWtLyYD3NS9TYeLuybBCCr/y+r0h2AnWTlnbqmhD7EiBgKWvuvpasXkni4Icy/whY2g4Fwvnw==","shasum":"0cd65c68f7c9b995eb0f0564516fe0f163050430","tarball":"https://registry.npmjs.org/@charlietango/eslint-config/-/eslint-config-2.0.2.tgz","fileCount":6,"unpackedSize":10713,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7chZxDu1GPrMM9WXCb11kcB9279emwF9OmCl0Y+vF9AiAl0iR4yokVtriexuLwygJ5F8lulto0cKVRzD/3KyKxEQ=="}]},"_npmUser":{"name":"thebuilder","email":"dsc@charlietango.dk"},"directories":{},"maintainers":[{"name":"thebuilder","email":"dsc@charlietango.dk"},{"name":"frederik_bosch","email":"frederik@bosch.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_2.0.2_1731073480374_0.39424045777993566"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-25T10:29:32.934Z","modified":"2024-11-08T13:44:40.804Z","2.0.0":"2024-10-25T10:29:33.261Z","2.0.1":"2024-10-25T12:35:16.809Z","2.0.2":"2024-11-08T13:44:40.562Z"},"author":{"name":"Charlie Tango"},"license":"MIT","description":"Provide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.","maintainers":[{"name":"thebuilder","email":"dsc@charlietango.dk"},{"name":"frederik_bosch","email":"frederik@bosch.dev"}],"readme":"# @charlietango/eslint-config\n\nProvide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.\n\n## Usage\n\nCreate a new `eslint.config.js` file, and extend the `@charlietango/eslint-config` inside it.\n\n```js\nimport ctConfig from \"@charlietango/eslint-config\";\n\nexport default [...ctConfig];\n```\n\nYou can modify the rules as needed, or add additional rules to the configuration.\n\n## Language\n\nThe configuration is written in TypeScript, and is intended to be used with TypeScript and React projects.\nIt also includes globals for both `node` and `browser` environments.\n\n## Rules\n\nProvides configuration for the following:\n\n- JavaScript\n- TypeScript\n- React\n\nAll the rules are located under `@charlietango/eslint-config/rules`, and can be imported and used individually.\n\n## Recommend plugins\n\nIn addition to this base configuration, we recommend using the following plugins in the application\n\n### [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss/)\n\n```ts\nimport ctConfig from \"@charlietango/eslint-config\";\nimport tailwind from \"eslint-plugin-tailwindcss\";\n\nexport default [\n  ...ctConfig,\n  ...tailwind.configs[\"flat/recommended\"],\n  {\n    settings: {\n      tailwindcss: {\n        callees: [\"classnames\", \"clsx\", \"cn\"],\n        classnamesOrder: \"off\", // Handled by Prettier\n      },\n    },\n  },\n];\n```\n","readmeFilename":"readme.md"}