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

turn off linebreak-style #2250

Closed
wants to merge 1 commit into from

Conversation

@phapdinh
Copy link

commented Oct 2, 2019

Hi, this removes this error that I was seeing when I was running npm run lint in the repo
enzyme-lint

Copy link
Collaborator

left a comment

This rule is very intentional; the solution on windows is to set your global gitconfig so it converts everything to LF, always, and then reclone all repos.

@ljharb ljharb added the wontfix label Oct 2, 2019
@ljharb ljharb closed this Oct 2, 2019
@phapdinh

This comment has been minimized.

Copy link
Author

commented Oct 2, 2019

@ljharb can we add a .gitattributes file to do this?

@phapdinh phapdinh deleted the phapdinh:turn-off-linebreak-style branch Oct 2, 2019
@ljharb

This comment has been minimized.

Copy link
Collaborator

commented Oct 2, 2019

Since only Windows users need it, it seems better for Windows users to have their own global gitattributes file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.