Skip to content

Commit

Permalink
Docs: key-spacing fixable documenation notes (fixes eslint#6375)
Browse files Browse the repository at this point in the history
  • Loading branch information
RRMoelker committed Jun 11, 2016
1 parent 20ab4f6 commit c5dc841
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/README.md
Expand Up @@ -168,7 +168,7 @@ These rules relate to style guidelines, and are therefore quite subjective:
* [id-match](id-match.md): require identifiers to match a specified regular expression
* [indent](indent.md): enforce consistent indentation (fixable)
* [jsx-quotes](jsx-quotes.md): enforce the consistent use of either double or single quotes in JSX attributes (fixable)
* [key-spacing](key-spacing.md): enforce consistent spacing between keys and values in object literal properties
* [key-spacing](key-spacing.md): enforce consistent spacing between keys and values in object literal properties (fixable)
* [keyword-spacing](keyword-spacing.md): enforce consistent spacing before and after keywords (fixable)
* [linebreak-style](linebreak-style.md): enforce consistent linebreak style (fixable)
* [lines-around-comment](lines-around-comment.md): require empty lines around comments
Expand Down
2 changes: 2 additions & 0 deletions docs/rules/key-spacing.md
@@ -1,5 +1,7 @@
# enforce consistent spacing between keys and values in object literal properties (key-spacing)

(fixable) The `--fix` option on the [command line](../user-guide/command-line-interface#fix) automatically fixes problems reported by this rule.

This rule enforces spacing around the colon in object literal properties. It can verify each property individually, or it can ensure horizontal alignment of adjacent properties in an object literal.

## Rule Details
Expand Down

0 comments on commit c5dc841

Please sign in to comment.