Skip to content

Commit

Permalink
Docs: Fix minor typo in no-extra-parens doc (#6992)
Browse files Browse the repository at this point in the history
  • Loading branch information
astorije authored and michaelficarra committed Aug 27, 2016
1 parent 28f1619 commit 6869c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-extra-parens.md
Expand Up @@ -9,7 +9,7 @@ This rule restricts the use of parentheses to only where they are necessary.
This rule always ignores extra parentheses around the following:

* RegExp literals such as `(/abc/).test(var)` to avoid conflicts with the [wrap-regex](wrap-regex.md) rule
* immediately-invokes function expressions (also known as IIFEs) such as `var x = (function () {})();` and `((function foo() {return 1;})())` to avoid conflicts with the [wrap-iife](wrap-iife.md) rule
* immediately-invoked function expressions (also known as IIFEs) such as `var x = (function () {})();` and `((function foo() {return 1;})())` to avoid conflicts with the [wrap-iife](wrap-iife.md) rule

## Options

Expand Down

0 comments on commit 6869c60

Please sign in to comment.