rescript-association / reanalyze

Experimental analyses for ReScript and OCaml: globally dead values/types, exception analysis, and termination analysis.
MIT License
277 stars 20 forks source link

[Feature Request] Support `globs` for `suppress` and `unsuppress`. #180

Open Kingdutch opened 2 years ago

Kingdutch commented 2 years ago

Use case: I'm working on Storybook support and have my stories inline as .stories.res. The output of those files is used by Storybook and thus not by ReScript code. So I'd like to be able to configure src/**/*.stories.res as supressed to indicate that reanalyze should treat those files as live.

Ideally I'd only supress the dead code check and not other checks.