Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

add Linter support to any javascript ES5, ES2015, ES.next and React project

License

Notifications You must be signed in to change notification settings

bySabi/eslint-modules-standard-deviation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-modules-standard-deviation

npm version npm downloads bitHound Overall Score

Add linter settings easily to any javascript ES5, ES2015, ES.next or React project using shared eslint config, eslint-config-standard-deviation, and ESLint

Installation

npm

npm install eslint babel-eslint eslint-modules-standard-deviation --save-dev
Works only in npm 3 and beyond environments

Usage

Add extends to project .eslintrc

{
  "extends": ["standard-deviation"]
}

Add scripts to package.json

"scripts": {
  "lint": "eslint . --ext .js,.jsx",
  "testonly": "echo \"Error: no test specified\" && exit 1",
  "test": "npm run lint && npm run testonly"
}

[optional] enable/disable eslint rules

{
  "extends": ["standard-deviation"],
  "rules": {
    "space-before-function-paren": ["error", "always"]
  }
}

Projects using eslint-modules-standard-deviation

Contributing

  • Documentation improvement
  • Feel free to send any PR

License

ISC