mirror of
https://github.com/WilliamsNY/linter-configs.git
synced 2024-11-09 19:46:39 -05:00
Use the eslint override for multi-word components globally
This commit is contained in:
parent
a535ddba36
commit
3652048af5
1 changed files with 8 additions and 1 deletions
9
eslintrc
9
eslintrc
|
@ -113,6 +113,14 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"overrides": [
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [ "*" ],
|
||||||
|
|
||||||
|
"rules": {
|
||||||
|
"vue/multi-word-component-names": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"files": [ "*.vue" ],
|
"files": [ "*.vue" ],
|
||||||
|
|
||||||
|
@ -131,7 +139,6 @@
|
||||||
"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 } } ],
|
"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