eslint-config-6river
7.1.0 • Public • Published eslint-config-6river
npm i -D eslint-config-6river
- Add one of the following to
.eslintrc.json
:
- TypeScript:
{"extends": "6river/typescript"}
- JavaScript:
{"extends": "6river"}
- mixed:
{"extends": "6river/typescript"}
- Mocha tests:
{"extends": "6river/mocha"}
- AngularJS:
{"extends": "6river/angular"}
- Add one of the following to the
scripts
property in package.json
:
- TypeScript:
"lint": "eslint --ext .ts ."
- JavaScript:
"lint": "eslint --ext .js ."
- mixed:
"lint": "eslint --ext .js,ts ."
npm run lint
Package Sidebar
Install
npm i eslint-config-6river
Weekly Downloads