From 9527acd2afa5a32ba96fd8ae02ebd88277af89e9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 13:36:04 +0400 Subject: feat(vue): Rule "html-self-closing" Signed-off-by: Valentin Popov --- src/rules/vue/default.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') diff --git a/src/rules/vue/default.json b/src/rules/vue/default.json index 07aaf6a..e2e92ef 100644 --- a/src/rules/vue/default.json +++ b/src/rules/vue/default.json @@ -46,6 +46,18 @@ "error", "double" ], + "vue/html-self-closing": [ + "error", + { + "html": { + "component": "always", + "normal": "always", + "void": "always" + }, + "math": "always", + "svg": "always" + } + ], "vue/script-indent": [ "error", "tab", -- cgit v1.2.3