From d88ad2b6387f7280ef458aed287ad09e8bd33d5a Mon Sep 17 00:00:00 2001 From: Markus Oberlehner Date: Sat, 16 Dec 2017 19:07:24 +0100 Subject: [PATCH] Fix html-self-closing example json `vue/html-self-closing` must be used as a key in the eslint config to make it work correctly. Also this is consitent with the example json for other rules. --- docs/rules/html-self-closing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/html-self-closing.md b/docs/rules/html-self-closing.md index 00fb7b345..448e495d3 100644 --- a/docs/rules/html-self-closing.md +++ b/docs/rules/html-self-closing.md @@ -16,7 +16,7 @@ This rule has options which specify self-closing style for each context. ```json { - "html-self-closing": ["error", { + "vue/html-self-closing": ["error", { "html": { "void": "never", "normal": "always",