Closed a14n closed 7 years ago
At the moment, the prefer_single_quotes
rule seems to intentionally allow that syntax. The reasoning is laid out here.
Thanks, it can make sense for some code. And I guess that's why expressions in string interpolation are not linted:
"${""}"; // OK
'${''}'; // OK
'${'${'${'${''}'}'}'}'; // OK
'${"${'${"${''}"}'}"}'; // OK
"hello ${'world'}"
should be linted.