Class: NoInterpolationInSingleQuotes
Defined in: | node_modules/gulp-coffeelint/node_modules/coffeelint/src/rules/no_interpolation_in_single_quotes.coffee |
Variables Summary
- rule =
-
{ name: 'no_interpolation_in_single_quotes', level: 'ignore', message: 'Interpolation in single quoted strings is forbidden', description: 'This rule prohibits string interpolation in a single quoted string.\n<pre>\n<code># String interpolation in single quotes is not allowed:\nfoo = \'#{bar}\'\n\n###\nDouble quotes is OK of course\n###\nfoo = "#{bar}"\n</code>\n</pre>\nString interpolation in single quoted strings is permitted by\ndefault.' }
- tokens =
-
['STRING']
Instance Method Summary
Instance Method Details
#
(void)
lintToken(token, tokenApi)