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 line endings, add a unit test #10736

Conversation

JanProvaznik
Copy link
Contributor

@JanProvaznik JanProvaznik commented Oct 1, 2024

Fixes #10684

Context

editorconfig settings were ignored due to being incapable of parsing it if they had different line endings than the current system uses

Changes Made

use StreamReader instead of string.Split

Testing

unit test that file with multiple line endings is parsed correctly

Notes

This is the fix that should go to main, a simpler fix #10740 goes to servicing.

@JanProvaznik
Copy link
Contributor Author

@dotnet-policy-service agree company="Microsoft"

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.

Buildcheck - .editorconfig seems to be ignored
2 participants