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

Meta: Add .gitattributes file #451

Closed
JonahPlusPlus opened this issue May 28, 2024 · 2 comments · Fixed by #453
Closed

Meta: Add .gitattributes file #451

JonahPlusPlus opened this issue May 28, 2024 · 2 comments · Fixed by #453

Comments

@JonahPlusPlus
Copy link
Contributor

JonahPlusPlus commented May 28, 2024

Prettier formats files with line endings of lf, which causes problems for Windows developers who have autocrlf enabled. (See https://prettier.io/docs/en/options#end-of-line)

There needs to be a .gitattributes file with * text=auto eol=lf to disable the autocrlf.

@JonahPlusPlus
Copy link
Contributor Author

(I didn't bother adding this to #450 since it would result in a bunch of files being changed)

@molefrog
Copy link
Owner

Sounds good to me! Could you make a PR please?

@JonahPlusPlus JonahPlusPlus changed the title Meta: Add .gitignore file Meta: Add .gitattributes file May 29, 2024
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

Successfully merging a pull request may close this issue.

2 participants