Skip to content

fix: detect redundant boolean comparisons#424

Merged
mijinummi merged 1 commit into
MDTechLabs:mainfrom
Ibinola:fix/issue-317-redundant-boolean-comparisons
May 31, 2026
Merged

fix: detect redundant boolean comparisons#424
mijinummi merged 1 commit into
MDTechLabs:mainfrom
Ibinola:fix/issue-317-redundant-boolean-comparisons

Conversation

@Ibinola
Copy link
Copy Markdown
Contributor

@Ibinola Ibinola commented May 31, 2026

Closes #317

Closes #311
Closes #312
Closes #313

Summary

  • Adds a Solidity style rule that flags == true / != false patterns and suggests simplified expressions.
  • Registers the rule in the default scanner rule set.

Testing

  • cargo test -p gasguard-rule-engine

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@Ibinola Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mijinummi mijinummi merged commit 3026c75 into MDTechLabs:main May 31, 2026
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants