NestJS
Package: @santi020k/eslint-config-nest
Use the NestJS package for server-side TypeScript apps that want the shared rules plus Nest-oriented linting.
Install
Section titled “Install”pnpm add -D @santi020k/eslint-config-nestnpm install -D @santi020k/eslint-config-nestyarn add -D @santi020k/eslint-config-nestbun add -d @santi020k/eslint-config-nestConfigure
Section titled “Configure”import { eslintConfig } from '@santi020k/eslint-config-basic'import nest from '@santi020k/eslint-config-nest'
export default eslintConfig({ frameworks: { nest }, typescript: true})What It Adds
Section titled “What It Adds”- NestJS-focused rules on top of the core and TypeScript packages.
- A modular server-side framework package that does not affect front-end projects.
- A composition path that still works with presets and other optional tooling.
- NestJS projects usually work well with
runtime: Runtime.Nodeorpreset: Preset.Node. - The framework package remains explicit, even when NestJS is detected from
package.json.
Repository Links
Section titled “Repository Links”- Source Package: packages/nest
- Playground: packages/playground/nest
Related Pages
Section titled “Related Pages”Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.