Add json support to eslint

This commit is contained in:
Kevin MacMartin 2021-09-17 14:41:21 -04:00
parent fb876f13f7
commit d057abd134
2 changed files with 6 additions and 2 deletions

View file

@ -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`

View file

@ -6,7 +6,8 @@
},
"extends": [
"plugin:vue/recommended"
"plugin:vue/recommended",
"plugin:json/recommended"
],
"rules": {