Skip to content

Commit

Permalink
feat(block-indentation): add autofix to the block-indentation rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Molinié committed Dec 17, 2021
1 parent 72c038e commit b1ecfff
Show file tree
Hide file tree
Showing 5 changed files with 435 additions and 113 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -87,7 +87,7 @@ Each rule has emojis denoting:

| Name || 💅 | ⌨️ | 🔧 |
| :-------------------------------------------------------------------------------------------------------- | :-- | :-- | :-- | --- |
| [attribute-indentation](./docs/rule/attribute-indentation.md) | | | | |
| [attribute-indentation](./docs/rule/attribute-indentation.md) | | | | 🔧 |
| [block-indentation](./docs/rule/block-indentation.md) | | 💅 | | |
| [builtin-component-arguments](./docs/rule/builtin-component-arguments.md) || | | |
| [deprecated-each-syntax](./docs/rule/deprecated-each-syntax.md) | | | | |
Expand Down
2 changes: 2 additions & 0 deletions docs/rule/block-indentation.md
Expand Up @@ -2,6 +2,8 @@

💅 The `extends: 'stylistic'` property in a configuration file enables this rule.

🔧 The `--fix` option on the command line can automatically fix some of the problems reported by this rule.

Good indentation is crucial for long-term maintenance of templates. For example, having blocks misaligned is a common cause of logic errors.

## Examples
Expand Down

0 comments on commit b1ecfff

Please sign in to comment.