Skip to content
You are viewing the v1 archive. For current setup guidance, use the v3 docs; the v2 release is preserved at /v2/.

Tools

The tools option enables integrations for standalone developer tooling that commonly interacts with source code or documentation.

ToolEnumUse It WhenAuto-Detected
PrettierTool.PrettierThe project uses Prettier and needs ESLint compatibility.No
CSpellTool.CspellThe project wants spell checking coverage.No
JSDocTool.JsdocThe project relies on JSDoc conventions.No
SwaggerTool.SwaggerThe project uses Nest Swagger tooling.Yes
import { eslintConfig, Tool } from '@santi020k/eslint-config-basic'
export default eslintConfig({
tools: [Tool.Prettier, Tool.Cspell]
})
  • Prettier is intentionally applied last in the final config array.
  • Swagger is automatically detected when the project includes @nestjs/swagger.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.