aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 16:55:47 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 16:55:47 -0700
commit4246cfa95c516afe11d27ee7f5890f4f86d5f671 (patch)
treee74aea32319cb803573bc85e56d801f8662ad495
parent22cc0515c98e58fc56a4bd82b6d6dbbcdfa71fcb (diff)
config oclint to allow longer var names
-rw-r--r--.oclint9
1 files changed, 9 insertions, 0 deletions
diff --git a/.oclint b/.oclint
index 4b5550ad..f38f47e6 100644
--- a/.oclint
+++ b/.oclint
@@ -1,11 +1,20 @@
rules:
rule-configurations:
+ #
# This is the default value (as of the time I wrote this) but I'm making
# it explicit since it needs to agree with the value used by clang-format.
# Thus, if we ever change the fish style to allow longer or shorter lines
# this should be changed (as well as the corresponding .clang-format file).
+ #
- key: LONG_LINE
value: 100
+ #
+ # The default limit for the length of variable names is 20. Long names are
+ # problematic but twenty chars results in way too many errors. So increase
+ # the limit to something more reasonable.
+ #
+ - key: LONG_VARIABLE_NAME
+ value: 30
disable-rules:
#