Skip to content

Conversation

@JanProvaznik
Copy link
Member

@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
@YuliiaKovalova YuliiaKovalova merged commit ff5cb70 into dotnet:vs17.12 Oct 3, 2024
10 checks passed
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