Skip to content

Typescript, Angular and Mocha configs based on Google's JS formatting rules, with some extra flavor

Notifications You must be signed in to change notification settings

arcmotive/eslint-config-6river

 
 

Repository files navigation

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

About

Typescript, Angular and Mocha configs based on Google's JS formatting rules, with some extra flavor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%