Skip to content

Conversation

@fourls
Copy link
Collaborator

@fourls fourls commented Apr 22, 2025

Fixes #97. This rule works by highlighting any in binary expression with one operand being a bitwise not. I haven't added it to the default quality profile I have now added it to the default quality profile, since it is a rare and admittedly confusing case.

@fourls fourls requested a review from cirras April 22, 2025 07:03
@fourls fourls force-pushed the bitwise-not-parens branch from b3e1e24 to edcfb4f Compare April 24, 2025 03:28
@fourls fourls force-pushed the bitwise-not-parens branch from edcfb4f to 34a7619 Compare May 6, 2025 02:15
@fourls fourls requested a review from cirras May 6, 2025 02:15
@fourls fourls force-pushed the bitwise-not-parens branch from 34a7619 to 9bc7e1d Compare May 6, 2025 03:03
@fourls fourls requested a review from cirras May 6, 2025 03:04
@fourls fourls force-pushed the bitwise-not-parens branch from 9bc7e1d to 257e42e Compare May 6, 2025 03:24
@fourls fourls force-pushed the bitwise-not-parens branch from 257e42e to ec08411 Compare May 6, 2025 03:43
Copy link
Collaborator

@cirras cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍

@cirras cirras merged commit e74a5ac into master May 6, 2025
4 checks passed
@cirras cirras deleted the bitwise-not-parens branch May 6, 2025 03:50
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.

New rule: Set containment checks should be enclosed in parentheses

3 participants