Require parentheses

As suggested by @ljharb in https://github.com/airbnb/javascript/pull/579#issuecomment-166981740
This commit is contained in:
Tomek Wiszniewski
2016-01-04 20:35:37 +01:00
parent 766f3585db
commit 4ca5764a30

View File

@@ -743,7 +743,7 @@ Other Style Guides
```
- [8.4](#8.4) <a name='8.4'></a> If your function takes a single argument and doesnt use braces, omit the parentheses.
- [8.4](#8.4) <a name='8.4'></a> If your function takes a single argument and doesnt use braces, omit the parentheses. Otherwise, always include parentheses around arguments.
> Why? Less visual clutter.