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

[cli] Add .gitattributes to root #4497

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

Brianzchen
Copy link
Member

When my colleagues machine installs definitions they have a different hash to me.

I'm fairly certain this is because of the cloning behaviour they have set by default which on windows is CRLF and the way that flow-typed updates the flow-typed cache is to have a copy of flow-typed cloned and pulled in the root dir of someones machine ~/.flow-typed.

By fixing the clone behaviour of *.js files to LF on the repo config it ensures consistency regardless of someone's local environment and fortunately it doesn't need a CLI release.

@Brianzchen Brianzchen merged commit 09e72f8 into flow-typed:master Aug 27, 2023
4 checks passed
@Brianzchen Brianzchen deleted the gitattributes branch August 27, 2023 23:35
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.

None yet

3 participants