CoffeeLint No Explicit Parens
CoffeeLint plugin for prohibiting explicit parens in function calls.
Usage
Install it:
$ npm install --save-dev coffeelint-no-explicit-parens
Use it:
It is possible to use this rule with no_implicit_parens
if both are configured
with strict
set to false
. This would lead to coffeelint enforcing a mixed
style for parens: Explicit for single line calls and implicit for multi line
calls. For example:
# good myFunctionabc# good myFunction a-> consolelog'hello!'# good myFunctiona-> consolelog'hello!'# bad myFunction abc# bad myFunctiona-> consolelog'hello!'# bad myFunctiona-> consolelog'hello!'