eslint-plugin-editorconfig
eslint-plugin-editorconfig copied to clipboard
`unset` values
According to the spec, if any value is the unset string, it should disable the rule and accept editor defaults, but I see no references in the source code. We should check the values before hand and disable the rules if possible, or at least set them to undefined so eslint defaults are being used instead. Not sure if this can be done in a preprocessing step, or would need to be done in a rule-by-rule basis, specially when a rule makes use of several editorconfig definitions.
https://github.com/editorconfig/editorconfig-core-js/issues/123
https://github.com/editorconfig/editorconfig-core-js/issues/123#issuecomment-1616807695
Published version 2.0.0 of editorconfig-core-js just to provide upstream the fix needed by this, so we don't need to do it ourselves.