clutchski/coffeelint

"\n" is detected in the no_unnecessary_double_quotes rule.

Closed this issue · 2 comments

I found an bug.
That error is detected in the no_unnecessary_double_quotes rule even though "\ n" is a necessary escape.
Here is a sample source code.

Sample code

https://gist.github.com/potato4d/0f58a3cb1d2e3ac6ac9a20fa4d39347c

swang commented

Hi. Thanks for submitting this issue.

There is no need issue as you don't need to use double quotes to print a control character in javascript.

Oh, OK.
sry