Skip to content

nestjs

NestJS services: the compiler options that decorators need, correct providers, routes, and DTOs, and no circular modules. It requires typescript.

gspot selects it in a scope with filenames nest-cli.json, or dependencies @nestjs/core.

Lint rules Files Why
gspot/no-trivial-files, 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.
Rule file Installed when
.gspot/configurations/framework/nestjs/rules/NESTJS.md Always
Tool Version
@darraghor/eslint-plugin-nestjs-typed 7.5.5