Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with linebreak-style: ["error", "windows"] #33

Closed
orlov-vo opened this issue Jul 12, 2019 · 2 comments
Closed

Errors with linebreak-style: ["error", "windows"] #33

orlov-vo opened this issue Jul 12, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@orlov-vo
Copy link

Hello!

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

I think a cause of the problem is in this lines:

block.transformed_code += '\n';

block.transformed_code += '\n';

@Conduitry Conduitry added the bug Something isn't working label Jul 12, 2019
@Conduitry
Copy link
Member

This should be fixed in 2.7.2. Can you try it out please?

@orlov-vo
Copy link
Author

Yes, it is work for me now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants