From 17eb381c5b22c57e5432f5c18c0dad7cf7ea278a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 13:25:08 +0400 Subject: feat(vue): Rule "attributes-order" Signed-off-by: Valentin Popov --- src/rules/vue/default.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/rules/vue/default.json') 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", -- cgit v1.2.3