-
Notifications
You must be signed in to change notification settings - Fork 5
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
Path separator not handled correctly on Windows #27
Path separator not handled correctly on Windows #27
Comments
Yes, the effect is the same! I cannot assess whether it is the same bug in the |
|
@mstruebing it seems that
|
Thank you @greut If anyone is willing to provide a PR I will make sure to get a new release out quickly. |
One last error was present in the library, editorconfig/editorconfig-core-go@7354273 - So make sure you're sending slash separated paths to it. |
I just tried out the new release 2.7.3 from pip, and things even get worse with the new release... The initial example from above does still not work on Windows. Also the workarounds with EDIT: Also on Linux, the syntax |
My
.editorconfig
file looks as following:I use the editorconfig-checker 2.7.2 from pip. On a Linux system, everything works as expected. Namely, the trailing whitespace rule is applied everywhere expect in all files and subfolders of the folder
lib
.However, on Windows, this exception is ignored. Namely, I get some errors for the trailing whitespace rule inside the folder
lib
.I found out that the tool works as expected on Windows if I change the line
[lib/**]
to[lib\\**]
. But this is not an acceptable workaround for me, because I need the editorconfig-checker to behave exactly the same on Linux and on Windows. And it clearly violates the editorconfig file format rules, saying that "Backslashes (\) are not allowed as path separators (even on Windows)."The text was updated successfully, but these errors were encountered: