-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
🐛 editorconfig rule insert_final_newline
cannot be disabled with insert_final_newline = unset
#5065
Comments
Hello @knyghty, please provide a minimal reproduction. You can use one of the following options:
Issues marked with |
Unfortunately GitHub isn't a source of truth. The spec says otherwise https://spec.editorconfig.org/#supported-pairs If you want, you can bring this to their attention. |
It seems like those docs aren't either. It looks like this was merged in #3907 but only allows "off" and "unset" - and also I assume this isn't released yet since it's still not working on 1.9.4 |
Those should work in 1.9.4. |
@dyc3 From what I can tell, it either does not, or I am fundamentally misunderstanding something:
Using this file:
|
(I should point out, I have to comment out all lines using |
I'm able to reproduce this. |
insert_final_newline
cannot be disabled with insert_final_newline = unset
Environment information
What happened?
If I try to disable a rule such as
insert_final_newline = ignore
, which should be supported, I get an error:Expected result
The configuration should validate properly and disable the rule for this pattern.
Code of Conduct
The text was updated successfully, but these errors were encountered: