mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-26 09:41:26 -05:00
Add Javascript ES6 linter config for eslint
This commit is contained in:
parent
8350d6a2bb
commit
9c6378d39c
2 changed files with 16 additions and 0 deletions
|
@ -7,3 +7,10 @@ Configurations for linters used at WNY
|
||||||
* Linter: [scss-lint](https://github.com/brigade/scss-lint)
|
* Linter: [scss-lint](https://github.com/brigade/scss-lint)
|
||||||
* Config: `scss-lint.yml`
|
* Config: `scss-lint.yml`
|
||||||
* Install: `~/.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
9
eslintrc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"parser": "babel-eslint",
|
||||||
|
"rules": {
|
||||||
|
"strict": 0
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"sourceType": "module"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue