-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: add .editorconfig to fix error due to line endings on Windows #5292
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
Conversation
Git Attributes file to ensure that line endings are the same regardless of the OS (This was causing problems for Windows + Docker)
Seems like other popular repos have lf configured in .editorconfig. Can you please try if it works? https://github.com/sveltejs/svelte/blob/main/.editorconfig#L1-L4 |
https://github.com/search?q=repo%3Afacebook%2Freact%20gitattributes&type=code Most libs does not have this at all. Also we can't somehow test this as no one of devs have windows. |
IMO should be short like React if needed |
Changed editor.config to .editorconfig and removed unnecessary code
@TrySound ok I changed what you said. looks like it still works. |
Thank you! |
Added Git Attributes file to ensure that line endings are the same regardless of the OS (This was causing problems for Windows + Docker)
Steps for reproduction (Windows)
Code Review
hi @kof, I need you to take a look and make sure this is an ideal fix
It seems to work great on my end.