Add Javascript ES6 linter config for eslint

This commit is contained in:
Kevin MacMartin 2016-05-17 16:49:34 -04:00
parent 8350d6a2bb
commit 9c6378d39c
2 changed files with 16 additions and 0 deletions

View file

@ -7,3 +7,10 @@ Configurations for linters used at WNY
* Linter: [scss-lint](https://github.com/brigade/scss-lint)
* Config: `scss-lint.yml`
* Install: `~/.scss-lint.yml`
## Javascript
* Linter: [eslint](https://github.com/eslint/eslint)
* Modules: [babel-eslint](https://github.com/babel/babel-eslint)
* Config: `eslintrc`
* Install: `~/.eslintrc`

9
eslintrc Normal file
View file

@ -0,0 +1,9 @@
{
"parser": "babel-eslint",
"rules": {
"strict": 0
},
"parserOptions": {
"sourceType": "module"
}
}