mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-22 16:04:11 -05:00
Add json support to eslint
This commit is contained in:
parent
fb876f13f7
commit
d057abd134
2 changed files with 6 additions and 2 deletions
|
@ -11,6 +11,9 @@ Configurations for linters used at WNY
|
||||||
## Javascript
|
## Javascript
|
||||||
|
|
||||||
* Linter: [eslint](https://github.com/eslint/eslint)
|
* Linter: [eslint](https://github.com/eslint/eslint)
|
||||||
* Modules: [babel-eslint](https://github.com/babel/babel-eslint), [eslint-plugin-vue@next](https://github.com/vuejs/eslint-plugin-vue)
|
* Modules:
|
||||||
|
* [babel-eslint](https://github.com/babel/babel-eslint)
|
||||||
|
* [eslint-plugin-vue@next](https://github.com/vuejs/eslint-plugin-vue)
|
||||||
|
* [eslint-plugin-json](https://github.com/azeemba/eslint-plugin-json)
|
||||||
* Config: `eslintrc`
|
* Config: `eslintrc`
|
||||||
* Install: `~/.eslintrc`
|
* Install: `~/.eslintrc`
|
||||||
|
|
3
eslintrc
3
eslintrc
|
@ -6,7 +6,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"extends": [
|
"extends": [
|
||||||
"plugin:vue/recommended"
|
"plugin:vue/recommended",
|
||||||
|
"plugin:json/recommended"
|
||||||
],
|
],
|
||||||
|
|
||||||
"rules": {
|
"rules": {
|
||||||
|
|
Loading…
Reference in a new issue