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

Fix line ending problems and add more info #4

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Fix line ending problems and add more info #4

merged 2 commits into from
Apr 24, 2024

Conversation

MarcusCaspeco
Copy link
Member

Vi fixar line endings med .gitattributes, så vi måste låta prettier tycka att CRLF är okej lokalt.
https://prettier.io/docs/en/options.html#end-of-line
https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings

Lade till lite mer info om varför vi har skrivit över de regler som vi har gjort.

@MarcusCaspeco MarcusCaspeco requested a review from a team as a code owner April 23, 2024 15:45
@MarcusCaspeco
Copy link
Member Author

Eller så ändrar vi inte det här och sätter text eol=lf i .gitattributes så det alltid är LF... Någon som har tankar/preferenser? Den enda risken med att tvinga LF är ju om något verktyg i Windows kräver CRLF så blir det väldigt jobbigt i framtiden

@parse
Copy link
Member

parse commented Apr 23, 2024

This is good!

@parse parse merged commit 2229bc9 into main Apr 24, 2024
@parse parse deleted the line-endings branch April 24, 2024 09:27
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 this pull request may close these issues.

2 participants