NRosewood
NRosewood
Also, this is not the only problem that square brackets are causing. At least that's what the tests say. If, again, there are brackets in the name of one of...
> Make sense to look at stable solutions from `fast-glob` https://github.com/mrmlnc/fast-glob/blob/master/src/utils/path.ts#L19 In the issue, I described the reason why escaping with a double backslash will not work. Backslashes will be...
`С:\\path\\[glob-pattern]\\project` after fast-glob escape will turn to `С:\\path\\[glob-pattern\\]\\project (already broken)` and then after normalizePath: `С:/path/[glob-pattern/]/project/`
I do not see a way to do this. The problem lies here: [utils.js#L57](https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/src/utils.js#L57). We resolving context and file paths. Which returns windows path style again. i.e. it doesn't matter...
How to prevent make path methods use backslashes? In docs for node path i didn't found any solution
Can you show me pseudo-code example? Where exactly do you think i should use regexp to fix issue
This idea is overcomplicated if I got you right In this case we will need to write own path resolving function, which also may work incorrectly in some non-obvious cases
I dunno, maybe it would be better to slice context for `file` and `wanted/exclude` before put it in `isMatch`? https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/src/index.js#L112 And don't escape globs in context at all? Because globs...