NestJS services: the compiler options that decorators need, correct providers, routes, and DTOs. It requires typescript. Guide: NestJS.
A scope has a filename nest-cli.json, or a dependency on @nestjs/core.
| Lint rules |
Files |
Why |
gspot/no-trivial-functions |
**/*.module.ts |
A Nest module is an empty decorated class that registers providers and controllers, which is the shape Nest asks for. |
@eslint-react/no-forward-ref |
**/*.ts |
Nest forwardRef resolves module references and is unrelated to React refs. |
| Rule file |
Installed when |
.gspot/rules/NESTJS.md |
Always |
| Tool |
Version |
| @darraghor/eslint-plugin-nestjs-typed |
7.5.8 |