aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 12:39:50 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 12:39:50 +0300
commit8bff0c29d326e108eed0d749f7e1563f2a5f8183 (patch)
tree0db1ac69212a726f2f00afff1a7c29ef85551a2c /src
parent9527acd2afa5a32ba96fd8ae02ebd88277af89e9 (diff)
downloadeslint-config-8bff0c29d326e108eed0d749f7e1563f2a5f8183.tar.xz
eslint-config-8bff0c29d326e108eed0d749f7e1563f2a5f8183.zip
feat(vue): Rule "max-attributes-per-line"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/vue/default.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index e2e92ef..e0f09f3 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -58,6 +58,16 @@
"svg": "always"
}
],
+ "vue/max-attributes-per-line": [
+ "error",
+ {
+ "multiline": {
+ "allowFirstLine": false,
+ "max": 1
+ },
+ "singleline": 8
+ }
+ ],
"vue/script-indent": [
"error",
"tab",