@apitree.cz/eslint-config-nestjs
v1.0.0
Published
ESLint configuration for NestJS projects in ApiTree.
Downloads
439
Readme
ESLint Config NestJS
ESLint configuration for NestJS projects in ApiTree
Installation
This package must be used in conjunction with the base @apitree.cz/eslint-config package. Make sure both are installed:
pnpm add --save-dev @apitree.cz/eslint-config @apitree.cz/eslint-config-nestjs eslintMonorepos
Install and use the package in the root only.
Usage
Define both base and nestjs configurations in your repository's root eslint.config.js file:
import { defineConfig } from 'eslint/config';
import { base } from '@apitree.cz/eslint-config';
import { nestjs } from '@apitree.cz/eslint-config-nestjs';
export default defineConfig(base, nestjs(['apps/<nestjs-app>']));Omit the
appsarray argument if you have a single NestJS app repository (no monorepo).
Editor / IDE Setup
For the recommended IDE setup (e.g., IntelliJ), please refer to the setup guide in the base package README.
