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 parsing .editorconfig EOL #10740

Conversation

JanProvaznik
Copy link
Contributor

@JanProvaznik JanProvaznik commented Oct 1, 2024

Fixes #10684

Summary

In BuildCheck .editorconfig is ignored when it's EOLs don't match the system, because it's lines are parsed according to the local environment (\n vs \r\n). This fix splits lines in both locales.

Customer Impact

Multiplatform usability. Example of a silent failure this fix addresses: a Windows user copying .editorconfig from unix or from some configurations of git.

Regression?

No

Testing

Manual +
Unit test

Risk

Low, fixes edge case of intended behavior in BuildCheck feature.

@JanProvaznik JanProvaznik marked this pull request as ready for review October 1, 2024 14:35
@JanProvaznik JanProvaznik requested a review from a team as a code owner October 1, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants