-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Prettier show all files with error because of default #203
Comments
We use |
I dont see any .gitattributes file in loader-utils repo ... probably we should add it |
Yes, we should add, feel free to send a PR |
peter-spireng
added a commit
to peter-spireng/loader-utils
that referenced
this issue
Jan 29, 2022
peter-spireng
added a commit
to peter-spireng/loader-utils
that referenced
this issue
Jan 30, 2022
peter-spireng
added a commit
to peter-spireng/loader-utils
that referenced
this issue
Jan 30, 2022
alexander-akait
pushed a commit
that referenced
this issue
Feb 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clone repository and run "yarn test" - prettier will show error in files because of end of lines. There is no prettier config, so it expect "lf" on end of line (from version 2.0.0 - https://prettier.io/docs/en/options.html#end-of-line) but currenty there is "crlf" in files.
I can prepare PR but what is right option: add .prettierrc with "crlf" end of line configuration value or change end of line in source files to "lf"?
The text was updated successfully, but these errors were encountered: