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

format/prettier error on windows #398

Open
5 tasks done
Daydreamer-riri opened this issue Feb 2, 2024 · 4 comments
Open
5 tasks done

format/prettier error on windows #398

Daydreamer-riri opened this issue Feb 2, 2024 · 4 comments

Comments

@Daydreamer-riri
Copy link

Describe the bug

image

It's OK on Linux.

Reproduction

https://github.com/Daydreamer-riri/vite-react-ssg README file

System Info

windows 11

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@antfu
Copy link
Owner

antfu commented Apr 22, 2024

I don't use Windows and couldn't test out - can you help verify if it's still an issue with the latest version?

@Daydreamer-riri
Copy link
Author

I've just upgraded to the latest version, but the issue still persists.

2024-04-22.220433.mp4

@Daydreamer-riri
Copy link
Author

Daydreamer-riri commented Apr 22, 2024

This seems to be a problem with 'CRLF' when I switch 'CRLF' to 'LF' in vscode, the error disappears...

@Daydreamer-riri
Copy link
Author

Hi @antfu , I made a minimum repo: https://github.com/daydreamer-riri/exlint-prettier-crf-error

Recording.2024-04-23.020158.mp4

This is a problem that may be upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants