Update rules to use single quote

Update editor config to be consistent for YAML,JSON
This commit is contained in:
Sytone 2021-06-02 11:32:25 -07:00
parent 034a30046c
commit 4642ce2b0f
2 changed files with 110 additions and 93 deletions

View File

@ -5,10 +5,18 @@ root = true
[*]
indent_style = tab
end_of_line = crlf
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
[*.vue]
indent_style = tab
[*.{yaml,yml}]
indent_style = space
indent_size = 2
[*.json]
indent_style = space
indent_size = 4

View File

@ -68,7 +68,16 @@
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {},
"rules": {
"vue/html-quotes": [
"error",
"single"
],
"quotes": [
"error",
"single"
]
},
"parserOptions": {
"parser": "babel-eslint"
},