Skip to content

Commit

Permalink
Docs: Fix typo in object-shorthand docs (#7267)
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha authored and kaicataldo committed Sep 27, 2016
1 parent 7bb800d commit 2909c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/object-shorthand.md
Expand Up @@ -90,7 +90,7 @@ The rule takes an option which specifies when it should be applied. It can be se

* `"always"` (default) expects that the shorthand will be used whenever possible.
* `"methods"` ensures the method shorthand is used (also applies to generators).
* `"properties` ensures the property shorthand is used (where the key and variable name match).
* `"properties"` ensures the property shorthand is used (where the key and variable name match).
* `"never"` ensures that no property or method shorthand is used in any object literal.
* `"consistent"` ensures that either all shorthand or all longform will be used in an object literal.
* `"consistent-as-needed"` ensures that either all shorthand or all longform will be used in an object literal, but ensures all shorthand whenever possible.
Expand Down

0 comments on commit 2909c19

Please sign in to comment.