Open benmccann opened 2 months ago
@ybiquitous
For fast-glob
, we need just fastGlob.escapePath()
:
https://github.com/stylelint/stylelint/blob/462cdab4c08231b310c4d428cafc6eff01051e2b/lib/standalone.mjs#L185
For globby
, it would be more difficult because Stylelint provides globbyOptions
as a public API:
https://github.com/stylelint/stylelint/blob/462cdab4c08231b310c4d428cafc6eff01051e2b/docs/user-guide/options.md?plain=1#L149
It uses both
globby
andfast-glob
:laughing:https://github.com/stylelint/stylelint/blob/462cdab4c08231b310c4d428cafc6eff01051e2b/package.json#L172
https://github.com/stylelint/stylelint/blob/462cdab4c08231b310c4d428cafc6eff01051e2b/package.json#L176