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: lint always fails on windows github runners due to line endings #92

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

joeflateau
Copy link

No description provided.

Copy link

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR! what do you think add the config in .gitattributes, so it can also work for windows users?

@joeflateau
Copy link
Author

@aladdin-add i'm not sure what the best practices are here, but adding gitattributes should work too

@aladdin-add
Copy link

the difference is .gitattributes not just works for gh runner - I guess some devs may encounter the issue too.

@joeflateau
Copy link
Author

right right right. I'll change this up to use gitattributes

Copy link

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! 👍

@aladdin-add aladdin-add merged commit c6f0b8b into weiran-zsd:main Nov 17, 2021
@joeflateau
Copy link
Author

thank you!

@joeflateau joeflateau deleted the bugfix/windows-line-endings branch November 17, 2021 14:34
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