Closed crstauf closed 4 years ago
Does {foo,bar}/**
work?
@Alhadis Indeed it does; thanks!
What should the selector be to have two different file extensions in different directories to use the same config be?
Pseudo section name: [{foo/**.txt,bar/**.md}]
Two different sections with identical contents. :wink:
Bleh, not the answer I was hoping for (not ideal), but I understand.
Thanks for the help, @Alhadis!
Involved .editorconfig-files
I have also tried (which I think is how the doc indicates it should be?):
Directory structure
On both
bar/bar.txt
andfoo/foo.txt
, after running the "Show State" command, the popup indicates no config was applied.If I change
.editorconfig
tothen
foo/foo.txt
applies the config, and it works fine.Context
I'm creating a
.editorconfig
in the root of a WordPress install, to apply to files inwp-content/mu-plugins
andwp-content/themes/my-theme
. I don't want to apply a config to any files outside of those folders.