mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-04 01:45:23 +08:00
disable oclint BitwiseOperatorInConditional warning
This commit is contained in:
parent
4a2aed1f8e
commit
41f1232cf9
7
.oclint
7
.oclint
@ -58,3 +58,10 @@ disable-rules:
|
|||||||
# especially in the context of assert statements. So disable this rule.
|
# especially in the context of assert statements. So disable this rule.
|
||||||
#
|
#
|
||||||
- DoubleNegative
|
- DoubleNegative
|
||||||
|
#
|
||||||
|
# Avoiding bitwise operators in a conditional is a good idea with one
|
||||||
|
# exception: testing whether a bit flag is set. Which happens to be the
|
||||||
|
# only time you'll see something like `if (j->flags & JOB_CONSTRUCTED)`
|
||||||
|
# in fish source.
|
||||||
|
#
|
||||||
|
- BitwiseOperatorInConditional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user