@secondcloset/eslint-config-nestjs
v1.0.0
Published
ESLint configuration for NestJS TypeScript projects
Downloads
11
Maintainers
Keywords
Readme
Secondcloset eslint-config-nestjs
Installation
Run the following command:
npm i --save-dev @secondcloset/eslint-config-nestjsHow to use
In your react project, create an
.eslintrc.jsfile and add these changes:module.exports = { extends: ["@secondcloset/nestjs"] };Add these scripts in your repo's package.json
scriptsattribute:"lint": "eslint src --ext .js,.ts", "lint:fix": "eslint src --ext .js,.ts --fix",Install the newly added packages:
npm installAdd the prettier config to your package.json file:
"prettier": "@secondcloset/prettier-config"Test the configuration:
npm run lint
