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

Allow platform dependent linebreaks in eslint #155

Closed

Conversation

dennisvang
Copy link

@dennisvang dennisvang commented Oct 30, 2024

This PR adds an eslint rule that allows developers on windows to override the linebreak-style check.

fixes #154

NOTES:

An alternative would be for Windows users to force LF on checkout using git (e.g. 1, 2), but IMO that's inconvenient and often confusing.

@dennisvang
Copy link
Author

dennisvang commented Oct 30, 2024

closing: This is fine if git autocrlf is true, but may lead to problems if it is not...

@dennisvang dennisvang closed this Oct 30, 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 this pull request may close these issues.

Linebreak errors on Windows
1 participant