rescript-lang / rescript-lang/rescript-vscode
[Feature Request] Support `globs` for `suppress` and `unsuppress`.
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the configuration handling for suppress and unsuppress, then follow the reanalyze entry point and its dead-code check. Confirm how glob patterns such as src/**/*.stories.res are matched and whether suppression can be limited to dead-code diagnostics; done means the requested files are treated as live without disabling unrelated checks.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100