fix: reduce precision false positives - #79
Merged
Conversation
alxxjohn
added a commit
that referenced
this pull request
Jul 28, 2026
🤖 I have created a release *beep* *boop* --- ## [1.3.4](v1.3.3...v1.3.4) (2026-07-28) ### Bug Fixes * reduce precision false positives ([7c52ee1](7c52ee1)) * reduce precision false positives ([#79](#79)) ([7a42827](7a42827)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR hardens CodeGuard’s precision rules to reduce false positives in TypeScript/JavaScript-heavy application code, especially React/Next/API/
connector-style codebases.
It improves rule behavior for local builders, parser helpers, domain command functions, adapter/orchestration functions, data contracts, and
validated boundary handling so users do not need broad waivers for normal production patterns.
Changes
Refined function.hidden-mutation, function.command-query-mix, and quality.hidden-side-effect
Reduced noisy duplicated-knowledge findings
Improved naming precision
Improved design/smell precision
Improved defensive-pattern recognition
Improved TypeScript semantic design checks
Validation