Open mcandre opened 9 years ago
Actually, it should always skip single vs double quote checks... we don't have a rule defined for that yet.
I would be happy to add one, but I'm pretty sure this requires language-specific parsing, right?
That would be a great addition!
Ideally, this feature would be supported for JavaScript, Ruby, Python, and Bash, since those languages tend to have the most single vs double quote fights.
You can't do that w/o parsing the file into a language-specific syntax tree. CodePainter does this for JavaScript.
@slang800 this issue should be closed as a wontfix
. There's no way to do it w/o knowledge of the language being formatted.
I want to enforce single quotes for strings across all my JavaScript (*.js) files, but for some reason this linter is ignoring
lib/regenboog.js
.Code:
https://github.com/mcandre/regenboog/tree/ac12033014bc08e08988ecedb461263b8005f4a4
Configuration:
Trace: