You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin could probably work with a single .editorconfig in the root directory of a project. However, nested .editorconfig files will not be picked up, and in fact the plugin's exported configuration will not even be executed more than once.
Unfortunately this is blocked by ESLint, since it is not designed to re-process configuration multiple times (usually for good reason, since performance could tank). We will need to reach out to ESLint to see if there is a way we could change this on an opt-in basis for specific plugins or configurations.
The text was updated successfully, but these errors were encountered:
Update: Since .editorconfig uses glob patterns and since ESLint supports glob-based configuration, our best bet may be to read .editorconfig files in CWD + descendant directories, and combine the glob patterns into a single configuration. Hoping to explore that in the next couple of weeks.
Apparently I solved this (or at least partially solved this) almost three years ago.
Wow.
I guess I'll close this for now. If anyone has trouble with nested .editorconfig files, please open a new issue and describe your use case in detail. Thanks!
This plugin could probably work with a single
.editorconfig
in the root directory of a project. However, nested.editorconfig
files will not be picked up, and in fact the plugin's exported configuration will not even be executed more than once.Unfortunately this is blocked by ESLint, since it is not designed to re-process configuration multiple times (usually for good reason, since performance could tank). We will need to reach out to ESLint to see if there is a way we could change this on an opt-in basis for specific plugins or configurations.
The text was updated successfully, but these errors were encountered: