Skip to content

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

Example

js
import { eslintConfig, Tool } from '@santi020k/eslint-config-basic'

export default eslintConfig({
  tools: [Tool.Prettier, Tool.Cspell]
})

Notes

  • Prettier is intentionally applied last in the final config array.
  • Swagger is automatically detected when the project includes @nestjs/swagger.

Repository Examples

Built by Santi020k. Repo and personal site linked throughout the docs.