mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-26 01:31:27 -05:00
add html linter plugin
This commit is contained in:
parent
762620ac7b
commit
999f70e6b9
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,6 @@ 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)
|
* Modules: [babel-eslint](https://github.com/babel/babel-eslint) , [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html)
|
||||||
* Config: `eslintrc`
|
* Config: `eslintrc`
|
||||||
* Install: `~/.eslintrc`
|
* Install: `~/.eslintrc`
|
||||||
|
|
1
eslintrc
1
eslintrc
|
@ -4,6 +4,7 @@
|
||||||
"ecmaVersion": 6,
|
"ecmaVersion": 6,
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
},
|
||||||
|
"plugins": [ "html"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"strict": 0,
|
"strict": 0,
|
||||||
"comma-dangle": [ "warn" ],
|
"comma-dangle": [ "warn" ],
|
||||||
|
|
Loading…
Reference in a new issue