mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-25 17:21:26 -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)
|
* Linter: [eslint](https://github.com/eslint/eslint)
|
||||||
* Modules:
|
* 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-vue@next](https://github.com/vuejs/eslint-plugin-vue)
|
||||||
* [eslint-plugin-json](https://github.com/azeemba/eslint-plugin-json)
|
* [eslint-plugin-json](https://github.com/azeemba/eslint-plugin-json)
|
||||||
* Config: `eslintrc`
|
* Config: `eslintrc`
|
||||||
|
|
9
eslintrc
9
eslintrc
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"parser": "babel-eslint",
|
"parser": "@babel/eslint-parser",
|
||||||
"ecmaVersion": 6,
|
"sourceType": "module",
|
||||||
"sourceType": "module"
|
"allowImportExportEverywhere": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"extends": [
|
"extends": [
|
||||||
|
@ -130,7 +130,8 @@
|
||||||
"vue/html-closing-bracket-spacing": [ "warn", { "startTag": "never", "endTag": "never", "selfClosingTag": "always" } ],
|
"vue/html-closing-bracket-spacing": [ "warn", { "startTag": "never", "endTag": "never", "selfClosingTag": "always" } ],
|
||||||
"vue/html-indent": "off",
|
"vue/html-indent": "off",
|
||||||
"vue/html-self-closing": "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/multiline-html-element-content-newline": "off",
|
||||||
"vue/mustache-interpolation-spacing": [ "warn" ],
|
"vue/mustache-interpolation-spacing": [ "warn" ],
|
||||||
"vue/name-property-casing": [ "warn", "kebab-case" ],
|
"vue/name-property-casing": [ "warn", "kebab-case" ],
|
||||||
|
|
Loading…
Reference in a new issue