Hallo Folks!
Please help me with this.
Cheers Robin
OS: Win7
Sublime Build: 3126 (had this problem with previous versions as well)
Sublime Linter Version: 3
I’ve tried ESLint and JSCS.
With following rules:
"linebreak-style": [
error,
"windows"
],
and respektivly:
"validateLineBreaks": "CRLF",
Both falsely detect line breaks in Sublime as Unix.
Console (on every Line):
SublimeLinter: eslint output:
D:\Dev\lgv\js\app.js: line 1, col 11, Error - Expected linebreaks to be ‘CRLF’ but found ‘LF’. (linebreak-style)
I’ve set "“show_line_endings”: true and it correctly shows “windows”, Notepad++ also shows Lineendings to be CRLF (see attached Screenshot)