Closed eldf7 closed 2 years ago
This is by design, in order to be compatible with bash. See https://github.com/juliangruber/brace-expansion/issues/56#issuecomment-918963909.
(we use minimatch, which uses brace-expansion for this piece of functionality)
I think I agree with the logic, so I'm going to close this. But feel free to comment more and we'll reopen it if we come up with a good argument.
The following config will match a
.js
filewhereas the following will not:
Expected behavior is
[*.{js}]
would match a.js
file which is the behavior in other editorconfig core libraries.