aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-08-02 15:38:41 +0100
committerXu Cheng2015-08-03 18:47:24 +0800
commit670ca78eaa139f6a12db91c90208238edb8f9ad2 (patch)
treef754c87f6cde01919785133a18db0e4c602841a9 /Library
parente4ef7f8cb744231800b2a6a166ba04d9e374c173 (diff)
downloadbrew-670ca78eaa139f6a12db91c90208238edb8f9ad2.tar.bz2
Add Rubocop 1.8 tweaks.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index d6d0e5d50..df5c5a9d9 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -127,12 +127,16 @@ Style/SignalException:
Style/TrailingComma:
Enabled: false
-# We prefer compact if-else-end/case-when-end alignment
+# we prefer compact if-else-end/case-when-end alignment
Lint/EndAlignment:
AlignWith: variable
Style/CaseIndentation:
IndentWhenRelativeTo: end
-# We prefer Perl-style regex back references
+# we prefer Perl-style regex back references
Style/PerlBackrefs:
Enabled: false
+
+# this is required for Ruby 1.8
+Style/DotPosition:
+ EnforcedStyle: trailing