Open Conaclos opened 5 days ago
Comparing conaclos/biome_glob
(03e4540) with main
(03cd04a)
✅ 97
untouched benchmarks
Just a small nit-pick: RetsrictedGlob
should be RestrictedGlob
:)
On a (only partially) related note:
biome_service::matcher::Pattern
and RestrictedGlob
?The idea is to get rid of Pattern. See https://github.com/biomejs/biome/issues/4611 for the whole plan, help is very welcome
Summary
Move
RetsrictedGlob
frombiome_js_analyze
to a dedicated crate. This allows us to useRetsrictedGlob
outsidebiome_js_analyze
.Also, I renamed
RetsrictedGlob
intoGlob
. Possible alternative names areGlobPattern
andPattern
.I added some documentation for the crate and put optional dependencies behind feature flags.
Test Plan
CI must pass.