coffeelint-function-call-whitespace
=====================================
Influenced by built-in Coffeelint rule no_implicit_parens
This is a plugin for Coffeelint. It enforces conventions about whitespace used when invoking functions.
- It requires that function arguments are separated by at least one space.
- If parentheses are used in the invocation, then there may not be whitespace after the openening paren or before the closing one.
# both valid sum24sum 24 # linting errors sum 24sum24 sum 24
Installation
npm install coffeelint-function-call-whitespace --save-dev
Configuration
In coffeelint.json
add
}
Now future runs of coffeelint
will check your function invocations for the above whitespace rules.