mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
disable oclint BitwiseOperatorInConditional warning
This commit is contained in:
parent
4a2aed1f8e
commit
41f1232cf9
1 changed files with 7 additions and 0 deletions
7
.oclint
7
.oclint
|
@ -58,3 +58,10 @@ disable-rules:
|
|||
# especially in the context of assert statements. So disable this rule.
|
||||
#
|
||||
- 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…
Reference in a new issue