aboutsummaryrefslogtreecommitdiffhomepage
path: root/.oclint
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 16:49:06 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 16:49:06 -0700
commit22cc0515c98e58fc56a4bd82b6d6dbbcdfa71fcb (patch)
treefa696da1912de0b53d0d66cc364386cd98076a91 /.oclint
parent79f342b954a6f47ee3f1277a899066a654e7c330 (diff)
another oclint rule to ignore
Diffstat (limited to '.oclint')
-rw-r--r--.oclint10
1 files changed, 10 insertions, 0 deletions
diff --git a/.oclint b/.oclint
index 4e9870e6..4b5550ad 100644
--- a/.oclint
+++ b/.oclint
@@ -8,6 +8,7 @@ rule-configurations:
value: 100
disable-rules:
+ #
# A few instances of "useless parentheses" errors are meaningful. Mostly
# in the context of the `return` statement. Unfortunately the vast
# majority would result in removing parentheses that decreases
@@ -16,4 +17,13 @@ disable-rules:
#
# Also, some macro expansions, such as FD_SET(), trigger this warning and
# we don't want to suppress each of those individually.
+ #
- UselessParentheses
+ #
+ # OCLint wants variable names to be at least three characters in length.
+ # Which would be fine if it supported a reasonable set of exceptions
+ # (e.g., "i", "j", "k") and allowed adding additional exceptions to match
+ # conventions employed by a project. Since it doesn't, and thus generates
+ # a lot of really annoying warnings, we're going to disable this rule.
+ #
+ - ShortVariableName