-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Third party .editorconfig leading to: Error Failure parsing editorconfig files #1227
Milestone
Comments
As a workaround, you can tell csharpier to ignore the bad editorconfig in the |
belav
added a commit
that referenced
this issue
Apr 16, 2024
belav
added a commit
that referenced
this issue
Apr 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environments:
main
Steps to reproduce:
Have a broken
.editorconfig
in the file tree, run format.Expected behavior:
Not sure, my current best idea is to ignore broken
.editorconfig
files with a warning.In my case the file is installed by
npm
, so I cannot simply fix or remove it.Also, the current exception does not provide the broken config location, only the repo root folder name.
Actual behavior:
The file that causes the exception is in a directory without any C# files, installed by a third-party JS module.
The text was updated successfully, but these errors were encountered: