{"id":13598717,"url":"https://github.com/unlight/eslint-plugin-nestjs","last_synced_at":"2025-06-18T13:35:43.156Z","repository":{"id":57230086,"uuid":"115667625","full_name":"unlight/eslint-plugin-nestjs","owner":"unlight","description":"POC. ESLint rules for nestjs framework","archived":false,"fork":false,"pushed_at":"2021-12-09T19:14:56.000Z","size":29,"stargazers_count":41,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T16:19:55.544Z","etag":null,"topics":["eslint-plugin","nestjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unlight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-28T23:32:34.000Z","updated_at":"2025-01-12T19:47:39.000Z","dependencies_parsed_at":"2022-09-14T15:02:00.557Z","dependency_job_id":null,"html_url":"https://github.com/unlight/eslint-plugin-nestjs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/unlight/eslint-plugin-nestjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Feslint-plugin-nestjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Feslint-plugin-nestjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Feslint-plugin-nestjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Feslint-plugin-nestjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/eslint-plugin-nestjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Feslint-plugin-nestjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260545408,"owners_count":23025718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint-plugin","nestjs"],"created_at":"2024-08-01T17:00:55.343Z","updated_at":"2025-06-18T13:35:38.145Z","avatar_url":"https://github.com/unlight.png","language":"TypeScript","readme":"# eslint-plugin-nestjs\nESLint rules for [nestjs](https://github.com/nestjs/nest) framework.\n\nThis project is POC and is not under development. But it will be, if I will get nestjs project on my job.\n\n## INSTALL\n```\nnpm install --save-dev eslint-plugin-nestjs\n```\n\n## USAGE\nConfigure it in [your configuration file](https://eslint.org/docs/user-guide/configuring):  \n1. Add to `plugins` section:\n```\nnestjs\n```\n2. Add to `extends` section (optional):\n```\nplugin:nestjs/recommended\n```\n3. [Configure rules](https://eslint.org/docs/user-guide/configuring#configuring-rules)\n\n## RULES\n* [nestjs/parse-int-pipe](src/parse-int-pipe/parse-int-pipe.md) — Usage of transform pipe `ParseIntPipe` for `@Param()` decorator\n* [nestjs/deprecated-api-modules](src/deprecated-api-modules/deprecated-api-modules.md) — Usage of the deprecated api (import modules)\n* [nestjs/use-dependency-injection](src/use-dependency-injection/use-dependency-injection.md) — Dependencies must be provided through a class constructor\n* [nestjs/use-validation-pipe](src/use-validation-pipe/use-validation-pipe.md) — Usage of `ValidationPipe` for `@Body` decorated parameters\n\n## SIMILAR PROJECTS\n- https://github.com/darraghoriordan/eslint-plugin-nestjs-typed\n\n## TODO\n* rule: inject @Res() but not using send or json\n* rule: if class decorated it must be exported\n* cqrs: commands which only trigger 1 command handler (for write), but events can multiple\n* cqrs: command should return void\n\n## USEFUL LINKS\n* https://astexplorer.net/\n\n## CHANGELOG\nSee [CHANGELOG.md](CHANGELOG.md)\n","funding_links":[],"categories":["Components \u0026 Libraries","资源"],"sub_categories":["组件和库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Feslint-plugin-nestjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Feslint-plugin-nestjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Feslint-plugin-nestjs/lists"}