An ESLint configuration preset extracted from the official NestJS TypeScript starter. Version 0.8.0 consolidates ESLint, TypeScript-ESLint, Prettier, and other plugins into a single shareable config, reducing direct dependencies. It is distributed as an npm package and updated occasionally. Unlike manually wiring up @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-config-prettier, eslint-plugin-prettier, and prettier, this preset provides a one-line extend and automatic plugin resolution, though it offers limited customization out of the box.
npm install eslint-config-nestjsVerified import paths — ran on the pinned version, not inferred.
Minimal ESLint config using the nestjs preset, including parser options for TypeScript project. Shows how to extend the preset and run ESLint.
Run `npm i -D eslint-config-nestjs @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier prettier`."
Verify eslint-config-nestjs is in node_modules and check ESLint's config resolution by running `npx eslint --print-config src/index.ts`."
Disable the plugin by adding `'prettier/prettier': 'off'` in rules.
Install the package: `npm i -D eslint-config-nestjs`."
Install peer dependency: `npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser`."
Install the missing plugin: `npm i -D eslint-plugin-prettier prettier`."