mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-25 17:21:26 -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
|
||||
|
||||
* 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`
|
||||
* Install: `~/.eslintrc`
|
||||
|
|
3
eslintrc
3
eslintrc
|
@ -6,7 +6,8 @@
|
|||
},
|
||||
|
||||
"extends": [
|
||||
"plugin:vue/recommended"
|
||||
"plugin:vue/recommended",
|
||||
"plugin:json/recommended"
|
||||
],
|
||||
|
||||
"rules": {
|
||||
|
|
Loading…
Reference in a new issue