Skip to content

Commit

Permalink
Docs: edit arrow-parens as-needed explanation (fixes #11202) (#11569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Lowder authored and platinumazure committed Apr 2, 2019
1 parent 3396c3e commit 595de40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/arrow-parens.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This rule has a string option and an object one.
String options are:

* `"always"` (default) requires parens around arguments in all cases.
* `"as-needed"` allows omitting parens when there is only one argument.
* `"as-needed"` enforces no braces where they can be omitted.

Object properties for variants of the `"as-needed"` option:

Expand Down

0 comments on commit 595de40

Please sign in to comment.