Closed gustafl closed 8 years ago
There might be a lot of things that could affect it. Do you have .editorconfig
/.gitattributes
file? What mode enabled in sublime? You can see it with view -> line edings
Thank you for the quick feedback. I have neither .editorconfig
nor .gitattributes
in my current project. The View > Line Endings setting is set to Windows. It makes no difference how I set it.
Perhaps the error I get is due to a clash of rules in the .jscsrc
file? I put the whole file here, in case it helps.
Sorry, can't reproduce, feel free to check out the code, we would welcome the pr, if error is indeed there
I'm having a problem with the
validateLineBreaks
rule. The docs seem to contradict how thecharacter
option work. The docs says:I set it to
"CRLF"
, because in my files lines end with CRLF. But I still get an error. If I set it to"LF"
, I get no error. See images below: