pagarme/javascript-style-guide

Extra parentheses rule

Closed this issue · 1 comments

Context

While reviewing our core project I found this:

.then((propEq('length', 0)))

If we had this rule active, this wouldn't happen.

I'm +1 to enabling the no extra parenthesis rule!