eslint-config/src/rules/vue/default.json
Valentin Popov db71e72427
update(vue): html-quotes
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-02-19 15:18:24 +04:00

143 lines
2.4 KiB
JSON

{
"vue/attributes-order": [
"error",
{
"alphabetical": true,
"order": [
"DEFINITION",
"LIST_RENDERING",
"CONDITIONALS",
"RENDER_MODIFIERS",
"GLOBAL",
"UNIQUE",
"TWO_WAY_BINDING",
"OTHER_DIRECTIVES",
"OTHER_ATTR",
"EVENTS",
"CONTENT"
]
}
],
"vue/comma-dangle": [
"error",
"always-multiline"
],
"vue/html-closing-bracket-newline": [
"error",
{
"multiline": "always",
"singleline": "never"
}
],
"vue/html-closing-bracket-spacing": [
"error",
{
"endTag": "never",
"selfClosingTag": "always",
"startTag": "never"
}
],
"vue/html-indent": [
"error",
"tab",
{
"alignAttributesVertically": true,
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0
}
],
"vue/html-quotes": [
"error",
"double",
{
"avoidEscape": false
}
],
"vue/html-self-closing": [
"error",
{
"html": {
"component": "always",
"normal": "always",
"void": "always"
},
"math": "always",
"svg": "always"
}
],
"vue/max-attributes-per-line": [
"error",
{
"multiline": {
"allowFirstLine": false,
"max": 1
},
"singleline": 8
}
],
"vue/no-unused-vars": [
"error"
],
"vue/object-curly-spacing": [
"error",
"always",
{
"arraysInObjects": false,
"objectsInObjects": false
}
],
"vue/padding-line-between-blocks": [
"error",
"always"
],
"vue/script-indent": [
"error",
"tab",
{
"baseIndent": 0,
"switchCase": 1
}
],
"vue/sort-keys": [
"warn",
"asc",
{
"caseSensitive": true,
"ignoreChildrenOf": [
"model"
],
"ignoreGrandchildrenOf": [
"activated",
"beforeCreate",
"beforeDestroy",
"beforeMount",
"beforeUpdate",
"components",
"computed",
"created",
"data",
"deactivated",
"destroyed",
"directives",
"errorCaptured",
"filters",
"methods",
"mounted",
"name",
"props",
"updated",
"watch"
],
"minKeys": 2,
"natural": true
}
],
"vue/space-infix-ops": [
"error",
{
"int32Hint": false
}
]
}