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