{"_id":"@coding-with-hassan/eslint-config-api","_rev":"2-3bf0f27d393920902fe47e938cd37fec","name":"@coding-with-hassan/eslint-config-api","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@coding-with-hassan/eslint-config-api","version":"0.1.0","keywords":["eslint","eslintconfig","nestjs","typescript","node"],"author":{"name":"Hassan Khousheish"},"license":"MIT","_id":"@coding-with-hassan/eslint-config-api@0.1.0","maintainers":[{"name":"khousheish","email":"khousheish@live.com"}],"homepage":"https://github.com/CodiNG-With-Hassan/hassan-devkit#readme","bugs":{"url":"https://github.com/CodiNG-With-Hassan/hassan-devkit/issues"},"dist":{"shasum":"09ac10b2c012e4bc7d0c50cf780ad93f2563b4b0","tarball":"https://registry.npmjs.org/@coding-with-hassan/eslint-config-api/-/eslint-config-api-0.1.0.tgz","fileCount":4,"integrity":"sha512-O85DwN3JJ/xymQLIjrcYw9ZDnFlGH7NiE7oQbtqMur9AKJN5OjqfJMSDEusbRngdhyhgyKNvQVd927ouvvkanQ==","signatures":[{"sig":"MEQCIConowfcw8P30KmwJrjGfAZPJZDum38pYrwUHRDSZAV7AiB1VTSCI+LlPfvr0A6i9InDo/6QldNo1KFR6IiPoxKDsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4438},"main":"./index.js","type":"module","_from":"file:coding-with-hassan-eslint-config-api-0.1.0.tgz","exports":{".":"./index.js"},"_npmUser":{"name":"khousheish","email":"khousheish@live.com"},"_resolved":"/tmp/442d0a3522f00154e0c2f5f7eb379656/coding-with-hassan-eslint-config-api-0.1.0.tgz","_integrity":"sha512-O85DwN3JJ/xymQLIjrcYw9ZDnFlGH7NiE7oQbtqMur9AKJN5OjqfJMSDEusbRngdhyhgyKNvQVd927ouvvkanQ==","repository":{"url":"git+https://github.com/CodiNG-With-Hassan/hassan-devkit.git","type":"git","directory":"packages/eslint-config-api"},"_npmVersion":"10.8.2","description":"Shared ESLint flat config for NestJS / Node TypeScript projects.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"globals":"^16.0.0","@eslint/js":"^9.18.0","typescript-eslint":"^8.20.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"eslint":">=9","typescript":">=5"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-api_0.1.0_1779623193175_0.9732061230974249","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@coding-with-hassan/eslint-config-api","version":"0.2.0","description":"Shared ESLint flat config for NestJS / Node TypeScript projects.","license":"MIT","author":{"name":"Hassan Khousheish"},"repository":{"type":"git","url":"git+https://github.com/CodiNG-With-Hassan/hassan-devkit.git","directory":"packages/eslint-config-api"},"keywords":["eslint","eslintconfig","nestjs","typescript","node"],"type":"module","main":"./index.js","exports":{".":"./index.js"},"peerDependencies":{"eslint":">=9","typescript":">=5"},"dependencies":{"@eslint/js":"^9.18.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.2","globals":"^16.0.0","typescript-eslint":"^8.20.0"},"publishConfig":{"access":"public"},"_id":"@coding-with-hassan/eslint-config-api@0.2.0","bugs":{"url":"https://github.com/CodiNG-With-Hassan/hassan-devkit/issues"},"homepage":"https://github.com/CodiNG-With-Hassan/hassan-devkit#readme","_integrity":"sha512-eAZq6DL+W/0ooL3bLytslUuulCmtAN5t1hOxcQcuGrV82vXdnH6FhZ2rTAKRSZqyds1DK3Z5rkogyO8wiKIL0g==","_resolved":"/tmp/0189fafa54f31d0fce9444531f40fff5/coding-with-hassan-eslint-config-api-0.2.0.tgz","_from":"file:coding-with-hassan-eslint-config-api-0.2.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-eAZq6DL+W/0ooL3bLytslUuulCmtAN5t1hOxcQcuGrV82vXdnH6FhZ2rTAKRSZqyds1DK3Z5rkogyO8wiKIL0g==","shasum":"35664a1c736e7de08b770d155f2a8b8686c02af7","tarball":"https://registry.npmjs.org/@coding-with-hassan/eslint-config-api/-/eslint-config-api-0.2.0.tgz","fileCount":4,"unpackedSize":4894,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coding-with-hassan%2feslint-config-api@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCioPn6j0qt9s5EcBkv/5tnNoTy6iQxgEf6j3OFU/EfuAIhALmuQ9rz/T5YZzeK0ratDNUTdS7aliaFt4VQGu9YEYaM"}]},"_npmUser":{"name":"khousheish","email":"khousheish@live.com"},"directories":{},"maintainers":[{"name":"khousheish","email":"khousheish@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config-api_0.2.0_1789491397700_0.3570045235475341"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-24T11:46:33.010Z","modified":"2026-09-15T16:56:38.222Z","0.1.0":"2026-05-24T11:46:33.428Z","0.2.0":"2026-09-15T16:56:37.828Z"},"bugs":{"url":"https://github.com/CodiNG-With-Hassan/hassan-devkit/issues"},"author":{"name":"Hassan Khousheish"},"license":"MIT","homepage":"https://github.com/CodiNG-With-Hassan/hassan-devkit#readme","keywords":["eslint","eslintconfig","nestjs","typescript","node"],"repository":{"type":"git","url":"git+https://github.com/CodiNG-With-Hassan/hassan-devkit.git","directory":"packages/eslint-config-api"},"description":"Shared ESLint flat config for NestJS / Node TypeScript projects.","maintainers":[{"name":"khousheish","email":"khousheish@live.com"}],"readme":"# @coding-with-hassan/eslint-config-api\n\nShared ESLint flat config for NestJS / Node TypeScript projects.\n\n## Install\n\n```sh\npnpm add -D @coding-with-hassan/eslint-config-api eslint typescript\n```\n\n## Use\n\nCreate `eslint.config.mjs` in your project root:\n\n```js\nimport config from '@coding-with-hassan/eslint-config-api';\n\nexport default config({\n  tsconfigRootDir: import.meta.dirname,\n});\n```\n\nNeed a project-specific override? Pass an `extra` array of additional flat-config entries — they are appended after the base config:\n\n```js\nimport config from '@coding-with-hassan/eslint-config-api';\n\nexport default config({\n  tsconfigRootDir: import.meta.dirname,\n  extra: [\n    {\n      rules: {\n        '@typescript-eslint/no-floating-promises': 'error',\n      },\n    },\n  ],\n});\n```\n\n## What's in it\n\n- `@eslint/js` recommended\n- `typescript-eslint` recommended (type-checked)\n- `eslint-plugin-prettier` (errors on prettier violations, with `endOfLine: 'auto'`)\n- Node + Jest globals\n- Sensible relaxations for NestJS: `no-explicit-any` off; `no-floating-promises` and `no-unsafe-argument` at `warn`\n- `no-console` as an error, with `console.warn` / `console.error` allowed — log through Nest's\n  `Logger`; a project that must relax the rule overrides it in `extra`.\n","readmeFilename":"README.md"}