Skip to content

feat: allow excluding checkers with directive comment#185

Merged
sourya-deepsource merged 3 commits intoDeepSourceCorp:masterfrom
MashyBasker:feat/allow-exclude-checker
Mar 28, 2025
Merged

feat: allow excluding checkers with directive comment#185
sourya-deepsource merged 3 commits intoDeepSourceCorp:masterfrom
MashyBasker:feat/allow-exclude-checker

Conversation

@MashyBasker
Copy link
Contributor

Adding the comment //registry:exclude at the top of a Go checker will exclude it.

@vercel
Copy link

vercel bot commented Mar 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
globstar ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2025 2:37pm

Signed-off-by: Maharshi Basu <basumaharshi10@gmail.com>
@MashyBasker MashyBasker force-pushed the feat/allow-exclude-checker branch from 60187cd to 72a348b Compare March 28, 2025 09:51
@MashyBasker MashyBasker force-pushed the feat/allow-exclude-checker branch from 5fcfb54 to 80c66a1 Compare March 28, 2025 14:37
@sourya-deepsource sourya-deepsource dismissed ccoVeille’s stale review March 28, 2025 14:56

Changes made w.r.t comments. Thanks for the suggestions.

@sourya-deepsource sourya-deepsource merged commit b965649 into DeepSourceCorp:master Mar 28, 2025
8 of 9 checks passed
unnxt30 pushed a commit to unnxt30/globstar that referenced this pull request Apr 21, 2025
…#185)

Some checkers don't report issues in code. Rather, they form the basis for other checkers to run. For example, a checker may generate the scope graph for the entire source code (or a single file), and other checkers may use the results of such "meta" checkers. We need to exclude such "meta" checkers from being run like other normal checkers. Hence, introducing the directive `//globstar:registry-exclude`.

Signed-off-by: Unnat Sharma <officialunnat30@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants