Closed alaycock closed 7 years ago
Hi @alaycock - great finding, thanks!
As far as i remember you're right - the code should already ignore unknown
settings and therefore interpret unset
as auto
.
However, i would have ideas for two little improvements:
unset
instead of auto
(to stay in the terminology of the standard)?I would really appreciate if you would create a PR, you may just change the grammar or choose to help us improving a little bit more! ❤️ Let me know if you need any help.
Involved .editorconfig-files
The default editorconfig grammar.
The grammar for this editorconfig should be updated to include the updated spec for
.editorconfig
files. It allows theunset
option to be specified for any property, per this issue on the editorconfig issue tracker.No code changes beyond the grammar would be necessary (AFAIK), but it would just allow for proper syntax highlighting.
More discussion can be found here:
https://github.com/editorconfig/editorconfig/issues/285
https://github.com/editorconfig/editorconfig/issues/282 Updated wiki page.
If the issue is resolved by only changing the grammar, I can also make a PR, but I wanted to see if there were any comments prior to that.