I have errors in Svelte files when I have CRLF symbols on the end of lines and enabled rule linebreak-style with windows style:
28:0 error Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
36:18 error Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
36:29 error Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style
Hello!
I have errors in Svelte files when I have CRLF symbols on the end of lines and enabled rule
linebreak-style
withwindows
style:I think a cause of the problem is in this lines:
https://github.com/sveltejs/eslint-plugin-svelte3/blob/db8aa82022addc212cc8132d1d3fdf0243102997/index.js#L131 https://github.com/sveltejs/eslint-plugin-svelte3/blob/db8aa82022addc212cc8132d1d3fdf0243102997/index.js#L142