Skip to content

Commit

Permalink
Fix html-self-closing example json (#291)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
maoberlehner authored and michalsnik committed Dec 17, 2017
1 parent 345aaac commit c7542bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/html-self-closing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c7542bd

Please sign in to comment.