mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-22 07:54:11 -05:00
Update the babel plugin and disable the new multi-word-component-names recommendation (good idea, but it's going to conflict in too many old projects)
This commit is contained in:
parent
d057abd134
commit
a535ddba36
2 changed files with 6 additions and 5 deletions
|
@ -12,7 +12,7 @@ Configurations for linters used at WNY
|
|||
|
||||
* Linter: [eslint](https://github.com/eslint/eslint)
|
||||
* Modules:
|
||||
* [babel-eslint](https://github.com/babel/babel-eslint)
|
||||
* [@babel/eslint-parser](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`
|
||||
|
|
9
eslintrc
9
eslintrc
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"parserOptions": {
|
||||
"parser": "babel-eslint",
|
||||
"ecmaVersion": 6,
|
||||
"sourceType": "module"
|
||||
"parser": "@babel/eslint-parser",
|
||||
"sourceType": "module",
|
||||
"allowImportExportEverywhere": true
|
||||
},
|
||||
|
||||
"extends": [
|
||||
|
@ -130,7 +130,8 @@
|
|||
"vue/html-closing-bracket-spacing": [ "warn", { "startTag": "never", "endTag": "never", "selfClosingTag": "always" } ],
|
||||
"vue/html-indent": "off",
|
||||
"vue/html-self-closing": "off",
|
||||
"vue/max-attributes-per-line": [ "warn", { "singleline": 4, "multiline": { "max": 1, "allowFirstLine": false } } ],
|
||||
"vue/max-attributes-per-line": [ "warn", { "singleline": 4, "multiline": { "max": 1 } } ],
|
||||
"vue/multi-word-component-names": "off",
|
||||
"vue/multiline-html-element-content-newline": "off",
|
||||
"vue/mustache-interpolation-spacing": [ "warn" ],
|
||||
"vue/name-property-casing": [ "warn", "kebab-case" ],
|
||||
|
|
Loading…
Reference in a new issue