1.0.0 • Published 2 years ago
@secondcloset/eslint-config-nestjs v1.0.0
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
1.0.0
2 years ago
1.0.0-alpha.4
2 years ago
1.0.0-alpha.3
2 years ago
1.0.0-alpha.2
2 years ago
1.0.0-alpha.0
2 years ago