{"_id":"@alma-oss/eslint-config-typescript","_rev":"5-f760be9e44de7511f91f8a7303ace7a0","name":"@alma-oss/eslint-config-typescript","dist-tags":{"next":"3.0.0-alpha.1","latest":"3.0.0-alpha.3"},"versions":{"3.0.0-alpha.0":{"name":"@alma-oss/eslint-config-typescript","version":"3.0.0-alpha.0","keywords":["config","eslint","typescript","LMC"],"author":"Tomáš Litera <tomas.litera@almacareer.com","license":"MIT","_id":"@alma-oss/eslint-config-typescript@3.0.0-alpha.0","maintainers":[{"name":"literat","email":"tomaslitera@hotmail.com"}],"homepage":"https://github.com/lmc-eu/code-quality-tools#readme","bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"dist":{"shasum":"bc2e97a4e15796e4e3a82a2eaaace516053c7605","tarball":"https://registry.npmjs.org/@alma-oss/eslint-config-typescript/-/eslint-config-typescript-3.0.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-jbl78meWnUxRclehP01K4ofGtIg6fBCLZGbuEnNdWZ+WLrzTuFPi2MlU0lN3BdYVebQHRSHdlxD8zmLlqTLM2Q==","signatures":[{"sig":"MEUCIFnDKZhN251o1a9hefbZlktXizY2PJGXaR2SBbJTQwWkAiEA/6MMj0GUxIcTiwaAvlF85EgFg7vmHUG8O2WyIBT1NXM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15563},"main":"index.js","type":"module","engines":{"node":">=20"},"gitHead":"3c462316bd70cf3e9652656fc688ced332d0d47a","_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"repository":{"url":"git://github.com/lmc-eu/code-quality-tools.git","type":"git"},"_npmVersion":"lerna/8.2.3/node@v20.12.0+arm64 (darwin)","description":"Alma's ESLint config for TypeScript projects","directories":{},"_nodeVersion":"20.12.0","dependencies":{"typescript-eslint":"^8.38.0","eslint-plugin-react":"^7.37.5","@typescript-eslint/parser":"^8.39.0","@alma-oss/eslint-config-base":"^4.0.0-alpha.0","@alma-oss/eslint-config-react":"^3.0.0-alpha.0","@typescript-eslint/eslint-plugin":"^8.39.0","eslint-import-resolver-typescript":"^3.2.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","typescript":"^5.9.2"},"peerDependencies":{"eslint":"^9.31.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-typescript_3.0.0-alpha.0_1755078371779_0.17783624538403742","host":"s3://npm-registry-packages-npm-production"}},"3.0.0-alpha.1":{"name":"@alma-oss/eslint-config-typescript","version":"3.0.0-alpha.1","keywords":["config","eslint","typescript","LMC"],"author":"Tomáš Litera <tomas.litera@almacareer.com","license":"MIT","_id":"@alma-oss/eslint-config-typescript@3.0.0-alpha.1","maintainers":[{"name":"literat","email":"tomaslitera@hotmail.com"}],"homepage":"https://github.com/lmc-eu/code-quality-tools#readme","bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"dist":{"shasum":"c7526edef9017ada13f39342a733bac5c63556a7","tarball":"https://registry.npmjs.org/@alma-oss/eslint-config-typescript/-/eslint-config-typescript-3.0.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-Nc6RtZ/HdBeoa9UL/eyyfGIBosM/pFVuj6aKayu+g83eWfGW6nGEgHlAohHWSLWyIC4MG1acjln2uPOL7OmhEQ==","signatures":[{"sig":"MEQCIGG89J/sfdtj8QeFw+Ji/wAEtm78TCnt2ir75BBQVcsZAiBdrtoSOQDtmOz5+RPSrpHcnFT14sG+/UfQKhzeYIGMeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16648},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js","./react":"./react.js","./optional":"./optional.js"},"gitHead":"7a9e5189f85eb93dfe8b85eed91c0ec8f441d3f3","_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"repository":{"url":"git://github.com/lmc-eu/code-quality-tools.git","type":"git"},"_npmVersion":"lerna/8.2.3/node@v20.12.0+arm64 (darwin)","description":"Alma's ESLint config for TypeScript projects","directories":{},"_nodeVersion":"20.12.0","dependencies":{"typescript-eslint":"^8.38.0","eslint-plugin-react":"^7.37.5","@typescript-eslint/parser":"^8.39.0","@alma-oss/eslint-config-base":"^4.0.0-alpha.1","@alma-oss/eslint-config-react":"^3.0.0-alpha.1","@typescript-eslint/eslint-plugin":"^8.39.0","eslint-import-resolver-typescript":"^3.2.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.33.0","typescript":"^5.9.2"},"peerDependencies":{"eslint":"^9.31.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-typescript_3.0.0-alpha.1_1755248145061_0.1551601573924306","host":"s3://npm-registry-packages-npm-production"}},"3.0.0-alpha.2":{"name":"@alma-oss/eslint-config-typescript","version":"3.0.0-alpha.2","keywords":["config","eslint","typescript","LMC"],"author":{"name":"Tomáš Litera"},"license":"MIT","_id":"@alma-oss/eslint-config-typescript@3.0.0-alpha.2","maintainers":[{"name":"alma-design-system-bot","email":"team-design-system@almacareer.com"},{"name":"literat","email":"tomaslitera@hotmail.com"}],"homepage":"https://github.com/lmc-eu/code-quality-tools#readme","bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"dist":{"shasum":"4b023e9e46dbeeb13691270a5293bfe854f0c9eb","tarball":"https://registry.npmjs.org/@alma-oss/eslint-config-typescript/-/eslint-config-typescript-3.0.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-nkbRaJC1vm2PVqXiikKohTrl7QOTg/lECZB+59sTpAK/pPf4UHClNI1+8zB7R5Kiav6OpkasGcEw3ZTyVNKiqQ==","signatures":[{"sig":"MEUCICdbTrBqrVfkL/5I5hf6lHXl717EffPln7wh35BsV4qWAiEApPcHRP074dR3T+qsoUCiogBsMnGqKBByzI4heLQ5yGM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17267},"main":"index.js","type":"module","engines":{"node":">=20"},"exports":{".":"./index.js","./react":"./react.js","./optional":"./optional.js"},"gitHead":"5cdd7b8ee8a9dcc484264f49627a773c38edba94","_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"repository":{"url":"git://github.com/lmc-eu/code-quality-tools.git","type":"git"},"_npmVersion":"lerna/9.0.5/node@v20.19.4+arm64 (darwin)","description":"Alma's ESLint config for TypeScript projects","directories":{},"_nodeVersion":"20.19.4","dependencies":{"typescript-eslint":"^8.38.0","eslint-plugin-react":"^7.37.5","@typescript-eslint/parser":"^8.39.0","@alma-oss/eslint-config-base":"^4.0.0-alpha.2","@alma-oss/eslint-config-react":"^3.0.0-alpha.2","@typescript-eslint/eslint-plugin":"^8.39.0","eslint-import-resolver-typescript":"^3.2.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"9.39.4","typescript":"5.9.3"},"peerDependencies":{"eslint":"^9.31.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-typescript_3.0.0-alpha.2_1773817428761_0.4599557515520887","host":"s3://npm-registry-packages-npm-production"}},"3.0.0-alpha.3":{"name":"@alma-oss/eslint-config-typescript","description":"Alma's ESLint config for TypeScript projects","version":"3.0.0-alpha.3","keywords":["config","eslint","typescript","LMC"],"author":{"name":"Tomáš Litera"},"homepage":"https://github.com/lmc-eu/code-quality-tools#readme","license":"MIT","publishConfig":{"access":"public"},"engines":{"node":">=20"},"type":"module","repository":{"type":"git","url":"git://github.com/lmc-eu/code-quality-tools.git"},"bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"main":"index.js","exports":{".":"./index.js","./react":"./react.js","./optional":"./optional.js"},"dependencies":{"@alma-oss/eslint-config-base":"^4.0.0-alpha.2","@alma-oss/eslint-config-react":"^3.0.0-alpha.2","@typescript-eslint/eslint-plugin":"^8.39.0","@typescript-eslint/parser":"^8.39.0","eslint-import-resolver-typescript":"^3.2.7","eslint-plugin-react":"^7.37.5","typescript-eslint":"^8.38.0"},"peerDependencies":{"eslint":"^9.31.0"},"devDependencies":{"eslint":"9.39.4","typescript":"5.9.3"},"gitHead":"dd24962aed1ccc9a0dc14993cb3141f7e7fd3c99","_id":"@alma-oss/eslint-config-typescript@3.0.0-alpha.3","_nodeVersion":"22.23.2","_npmVersion":"lerna/10.0.1/node@v22.23.2+arm64 (darwin)","dist":{"integrity":"sha512-31Nz3XhOIrgz0Zzct1R6PgZftpM3T4jbeAHXGNcSwx1gZpYoW4SAEm7zX1sl20ErcVUnMhLyO9Gg3j8aQ02okg==","shasum":"bd8291d87e00019460bd2401a500b053a9b2f23e","tarball":"https://registry.npmjs.org/@alma-oss/eslint-config-typescript/-/eslint-config-typescript-3.0.0-alpha.3.tgz","fileCount":7,"unpackedSize":17511,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEscY5XwAa8FQixII+wKD+YjMnQAzqCRHRBHd0TV8iNGAiBiiBX82kgDJZrWY5gaAkyoJcrQgLmBGm6SmfZt5MJPiA=="}]},"_npmUser":{"name":"literat","email":"tomaslitera@hotmail.com"},"directories":{},"maintainers":[{"name":"alma-design-system-bot","email":"team-design-system@almacareer.com"},{"name":"literat","email":"tomaslitera@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config-typescript_3.0.0-alpha.3_1789128109718_0.8569938657627907"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-13T09:46:11.666Z","modified":"2026-09-11T12:01:50.037Z","3.0.0-alpha.0":"2025-08-13T09:46:11.968Z","3.0.0-alpha.1":"2025-08-15T08:55:45.238Z","3.0.0-alpha.2":"2026-03-18T07:03:48.888Z","3.0.0-alpha.3":"2026-09-11T12:01:49.869Z"},"bugs":{"url":"https://github.com/lmc-eu/code-quality-tools/issues"},"author":{"name":"Tomáš Litera"},"license":"MIT","homepage":"https://github.com/lmc-eu/code-quality-tools#readme","keywords":["config","eslint","typescript","LMC"],"repository":{"type":"git","url":"git://github.com/lmc-eu/code-quality-tools.git"},"description":"Alma's ESLint config for TypeScript projects","maintainers":[{"name":"alma-design-system-bot","email":"team-design-system@almacareer.com"},{"name":"literat","email":"tomaslitera@hotmail.com"}],"readme":"# @alma-oss/eslint-config-typescript\n\n> ESLint configuration for TypeScript projects\n\n## 📦 Installation\n\n```sh\nnpm install --save-dev eslint @alma-oss/eslint-config-typescript\n# or\nyarn add --dev eslint @alma-oss/eslint-config-typescript\n```\n\n## 🧩 Rulesets\n\n- **`@alma-oss/eslint-config-typescript`**\n\nA generic ruleset that focuses on code correctness.\n\n- **`@alma-oss/eslint-config-typescript/optional`**\n\nAdditional ruleset that might provide useful tips and hints how to improve your code.\n\n> For new projects, it is recommended to enable this ruleset. For existing projects, it is only recommended for the brave.\n\n- **`@alma-oss/eslint-config-typescript/style`**\n\nRuleset that focuses on code style (indentation, spacing, naming, syntax preference etc.).\n\n- **`@alma-oss/eslint-config-typescript/react`**\n\nRuleset that provides additional customizations for the `@alma-oss/eslint-config-react` ruleset when working with TypeScript.\n\n## 👨‍💻 Usage\n\nA full configuration for a TypeScript on Node.js project:\n\n```js\n// eslint.config.js\nimport typescript from '@alma-oss/eslint-config-typescript';\nimport optional from '@alma-oss/eslint-config-typescript/optional';\nimport style from '@alma-oss/eslint-config-typescript/style';\n\n/** @type {Array<import(\"eslint\").Linter.Config>} */\nexport default defineConfig({\n  ...typescript,\n  ...optional,\n  ...style,\n\n  parserOptions: {\n    // The project field is required in order for some TS-syntax-specific rules to function at all\n    // @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#configuration\n    project: './tsconfig.json',\n  },\n});\n```\n\nA full configuration for a TypeScript on React project:\n\n> Please note, that you need to have [eslint-config-react][eslint-config-react] installed as well\n\n```js\n// eslint.config.mjs\nimport { defineConfig, globalIgnores } from 'eslint/config';\nimport typescript from '@alma-oss/eslint-config-typescript';\nimport react from '@alma-oss/eslint-config-typescript/react';\nimport optional from '@alma-oss/eslint-config-typescript/optional';\nimport style from '@alma-oss/eslint-config-typescript/style';\n\nexport default defineConfig([\n  ...typescript,\n  ...react,\n  ...optional,\n  ...style,\n\n  {\n    parserOptions: {\n      // The project field is required in order for some TS-syntax-specific rules to function at all\n      // @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#configuration\n      project: './tsconfig.json',\n    },\n  },\n]);\n```\n\n## 🔌 Integration\n\n### Visual Studio Code\n\nThe [vscode-eslint](https://github.com/Microsoft/vscode-eslint) plugin for integrating ESLint into VSCode does not automatically parse TypeScript files. To do so, you must inform ESLint to enable on TypeScript files by adding this configuration to your settings (File > Preferences > Settings):\n\n```json\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    { \"language\": \"typescript\", \"autoFix\": true },\n    { \"language\": \"typescriptreact\", \"autoFix\": true }\n  ]\n```\n\n> Notice we are adding `javascriptreact` and `typescriptreact` above. It won’t harm adding those, but you can always omit these languages if not using them.\n\n## 🙌 Contributing\n\nWe’re always looking for contributors to help us fix bugs, build new features,\nor help us improve the project documentation. If you’re interested, definitely\ncheck out our [Contributing Guide][contributing]! 👀\n\n## 📝 License\n\nLicensed under the [MIT][license].\n\n[eslint-config-react]: https://www.npmjs.com/package/@alma-oss/eslint-config-react\n[contributing]: https://github.com/lmc-eu/code-quality-tools/blob/main/CONTRIBUTING.md\n[license]: https://github.com/lmc-eu/code-quality-tools/blob/main/LICENSE.md\n","readmeFilename":"README.md"}