Class: SpaceOperators
Defined in: | node_modules/gulp-coffeelint/node_modules/coffeelint/src/rules/space_operators.coffee |
Variables Summary
- rule =
-
{ name: 'space_operators', level: 'ignore', message: 'Operators must be spaced properly', description: "This rule enforces that operators have space around them." }
- tokens =
-
['+', '-', '=', '**', 'MATH', 'COMPARE', 'LOGIC', 'COMPOUND_ASSIGN', '(', ')', 'CALL_START', 'CALL_END']
Instance Method Summary
- # (void) lintToken({type}, tokenApi)
- # (void) lintPlus(token, tokenApi)
- # (void) lintMath(token, tokenApi)
- # (void) isInExtendedRegex()
- # (void) lintCall(token, tokenApi)
- # (void) isInInterpolation()
- # (void) lintParens(token, tokenApi)
Constructor Details
#
(void)
constructor()
Instance Method Details
#
(void)
lintToken({type}, tokenApi)
#
(void)
lintPlus(token, tokenApi)
#
(void)
lintMath(token, tokenApi)
#
(void)
isInExtendedRegex()
#
(void)
lintCall(token, tokenApi)
#
(void)
isInInterpolation()
#
(void)
lintParens(token, tokenApi)