summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/vue/default.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json
index fcbce0b..ed9154e 100644
--- a/src/rules/vue/default.json
+++ b/src/rules/vue/default.json
@@ -1,4 +1,22 @@
{
+ "vue/attributes-order": [
+ "error",
+ {
+ "order": [
+ "DEFINITION",
+ "LIST_RENDERING",
+ "CONDITIONALS",
+ "RENDER_MODIFIERS",
+ "GLOBAL",
+ "UNIQUE",
+ "TWO_WAY_BINDING",
+ "OTHER_DIRECTIVES",
+ "OTHER_ATTR",
+ "EVENTS",
+ "CONTENT"
+ ]
+ }
+ ],
"vue/html-indent": [
"error",
"tab",