Skip to content

Commit c7542bd

Browse files
maoberlehnermichalsnik
authored andcommitted
Fix html-self-closing example json (#291)
`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.
1 parent 345aaac commit c7542bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/html-self-closing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This rule has options which specify self-closing style for each context.
1616

1717
```json
1818
{
19-
"html-self-closing": ["error", {
19+
"vue/html-self-closing": ["error", {
2020
"html": {
2121
"void": "never",
2222
"normal": "always",

0 commit comments

Comments
 (0)