eslint-config-6river

7.1.0 • Public • Published

eslint-config-6river

  1. npm i -D eslint-config-6river
  2. 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"}
  1. 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 ."
  2. npm run lint

Package Sidebar

Install

npm i eslint-config-6river

Weekly Downloads

1,133

Version

7.1.0

License

Apache-2.0

Unpacked Size

5 kB

Total Files

6

Last publish

Collaborators

  • 6river-npm
  • 6river-machine
  • kolach
  • jjhughes57
  • aaron.france
  • jbcpollak