Name: eslint-config-elao
Owner: Elao
Description: null
Created: 2016-10-18 07:46:58.0
Updated: 2017-03-16 13:18:21.0
Pushed: 2017-03-16 13:18:20.0
Homepage: null
Size: 2
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Elao ESLint configuration
A configurable ESLint configuration used in Elao projects.
The config require the eslint
package.
m install --save-dev eslint eslint-config-elao
Create a .eslintrc
file with this following configuration:
xtends": "eslint-config-elao"
Then run the following command:
lint "path/to/**/*.js"
Add a "rules"
key to your config and add your overrides rules there.
For example, to change the indentation from 2 spaces to 4 and turn off the number-leading-zero
rule:
xtends": "eslint-config-elao",
ules": {
"indentation": 4,
"number-leading-zero": null