1.0.0 • Published 3 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-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
1.0.0
3 years ago
1.0.0-alpha.4
3 years ago
1.0.0-alpha.3
3 years ago
1.0.0-alpha.2
3 years ago
1.0.0-alpha.0
3 years ago