diff --git a/README.md b/README.md index c9e1b0f10..6de32cf66 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi | | Rule ID | Description | |:---|:--------|:------------| +| :wrench: | [html-closing-bracket-spacing](./docs/rules/html-closing-bracket-spacing.md) | require or disallow a space before tag's closing brackets | | :wrench: | [html-closing-bracket-newline](./docs/rules/html-closing-bracket-newline.md) | require or disallow a line break before tag's closing brackets | diff --git a/docs/rules/html-closing-bracket-spacing.md b/docs/rules/html-closing-bracket-spacing.md new file mode 100644 index 000000000..52799dd0f --- /dev/null +++ b/docs/rules/html-closing-bracket-spacing.md @@ -0,0 +1,83 @@ +# require or disallow a space before tag's closing brackets (html-closing-bracket-spacing) + +- :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. + +This rule enforces consistent spacing style before closing brackets `>` of tags. + +```html +