aboutsummaryrefslogtreecommitdiffhomepage
path: root/.oclint
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-22 20:21:04 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-22 20:21:04 -0700
commit49d9883b3e296ed2b0ca493c21b777cd12c0e0d9 (patch)
tree6015e9becb771eeb5c999b5877724cfe585dc302 /.oclint
parent2606cfe72db59735e8ab685f778968a1cf8c10be (diff)
disable the oclint InvertedLogic rule
Diffstat (limited to '.oclint')
-rw-r--r--.oclint5
1 files changed, 5 insertions, 0 deletions
diff --git a/.oclint b/.oclint
index f38f47e6..ad70da64 100644
--- a/.oclint
+++ b/.oclint
@@ -36,3 +36,8 @@ disable-rules:
# a lot of really annoying warnings, we're going to disable this rule.
#
- ShortVariableName
+ #
+ # This rule flags perfectly reasonable conditions like `if (!some_condition)`
+ # and is therefore just noise. Disable this rule.
+ #
+ - InvertedLogic