Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0a8eb8e

Browse files
committedOct 15, 2017
Update docs
1 parent 8d60717 commit 0a8eb8e

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
 

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ The `--fix` option on the command line automatically fixes problems reported by
139139
| | Rule ID | Description |
140140
|:---|:--------|:------------|
141141
| :wrench: | [attribute-hyphenation](./docs/rules/attribute-hyphenation.md) | enforce attribute naming style in template |
142+
| :wrench: | [html-indent](./docs/rules/html-indent.md) | enforce consistent indentation in `<template>` |
142143
| | [html-quotes](./docs/rules/html-quotes.md) | enforce quotes style of HTML attributes |
143144
| :wrench: | [html-self-closing](./docs/rules/html-self-closing.md) | enforce self-closing style |
144145
| | [max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | enforce the maximum number of attributes per line |

‎docs/rules/html-indent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# enforce consistent indentation in `<template>` (vue/html-indent)
1+
# enforce consistent indentation in `<template>` (html-indent)
2+
3+
- :wrench: The `--fix` option on the [command line](http://eslint.org/docs/user-guide/command-line-interface#fix) can automatically fix some of the problems reported by this rule.
24

35
## :book: Rule Details
46

‎lib/recommended-rules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
module.exports = {
77
"vue/attribute-hyphenation": "off",
88
"vue/html-end-tags": "off",
9+
"vue/html-indent": "off",
910
"vue/html-no-self-closing": "off",
1011
"vue/html-quotes": "off",
1112
"vue/html-self-closing": "off",

‎lib/rules/html-indent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ module.exports = {
11901190
create,
11911191
meta: {
11921192
docs: {
1193-
description: 'enforce consistent indentation in `<template>`.',
1193+
description: 'enforce consistent indentation in `<template>`',
11941194
category: 'Stylistic Issues',
11951195
recommended: false
11961196
},

0 commit comments

Comments
 (0)
Please sign in to comment.