# nestjs

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

NestJS services: the compiler options that decorators need, correct providers, routes, and DTOs, and no circular modules. It requires [`typescript`](/reference/configurations/typescript/).

## Selected when

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

## Lint rules turned off

| 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. |

## Rules for coding agents

| Rule file                                                | Installed when |
| -------------------------------------------------------- | -------------- |
| `.gspot/configurations/framework/nestjs/rules/NESTJS.md` | Always         |

## Tools and versions

| Tool                                  | Version |
| ------------------------------------- | ------- |
| @darraghor/eslint-plugin-nestjs-typed | `7.5.5` |
