Closed monoblaine closed 8 years ago
With a simple .jscsrc file like the following:
.jscsrc
{ "validateQuoteMarks": { "mark": "'", "escape": true } }
This line:
var foo = "\\";
is converted (I'm using the "fix" option) into this:
var foo = '\';
I'm using gulp-jscs btw, but this issue possibly belongs here.
Repo here: https://github.com/monoblaine/jscs-backslash-bug
We use https://github.com/sindresorhus/to-single-quotes package for fixing this, you probably should open an issue there instead
With a simple
.jscsrc
file like the following:This line:
is converted (I'm using the "fix" option) into this:
I'm using gulp-jscs btw, but this issue possibly belongs here.
Repo here: https://github.com/monoblaine/jscs-backslash-bug