jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.
MIT License
1.51k stars 21 forks source link

Allow regexes or minimatch-like sytax to work in ignores #124

Open AndreaPontrandolfo opened 3 days ago

AndreaPontrandolfo commented 3 days ago

It would be nice if the syntax for the various ignores options could be widened with regexes or minimatch-like syntax.

jeffijoe commented 3 days ago

Regex and minimatch are CVE nightmares, if we do this it would be basic starts-with foo* and ends with *foo.

lishaduck commented 3 days ago

Does typesync support JS config files? Couldn't you just use native regexes? If there's an issue it'd be your (configurer's) own fault and it doesn't pull in a library for matching.

jeffijoe commented 3 days ago

It does, but it feels weird to force users to use JS config files to enable a particular feature.