aboutsummaryrefslogtreecommitdiffstats
path: root/Library/.rubocop.yml
diff options
context:
space:
mode:
authorMike McQuaid2018-01-07 15:40:42 +0000
committerMike McQuaid2018-01-15 16:17:32 +0000
commit8cd0d85afba1bd07a6af24ffca54518ec8ff0d1c (patch)
tree33657be8b68f351301f1c248e86d54d07dd53757 /Library/.rubocop.yml
parent3e8b0577fae5aaa3afaa3d38aae9d1ff55207412 (diff)
downloadbrew-8cd0d85afba1bd07a6af24ffca54518ec8ff0d1c.tar.bz2
rubocop 0.52.1
Diffstat (limited to 'Library/.rubocop.yml')
-rw-r--r--Library/.rubocop.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 051a57f93..d93d1bd8b 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -123,6 +123,14 @@ Style/Documentation:
Style/Encoding:
Enabled: true
+# disabled until we get the Metrics/LineLength down to 80.
+Style/IfUnlessModifier:
+ Enabled: false
+
+# messes with existing plist/caveats style
+Style/TrailingBodyOnMethodDefinition:
+ Enabled: false
+
# use spaces for indentation; detect tabs
Layout/Tab:
Enabled: true
@@ -214,7 +222,7 @@ Style/FrozenStringLiteralComment:
Enabled: false
# generally rescuing StandardError is fine
-Lint/RescueWithoutErrorClass:
+Style/RescueStandardError:
Enabled: false
# implicitly allow EOS as we use it everywhere