aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index b839f3da2..89dcaa463 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -121,3 +121,13 @@ Style/SignalException:
# trailing commas in method argument lists are a syntax error in 1.8
Style/TrailingComma:
Enabled: false
+
+# 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
+Style/PerlBackrefs:
+ Enabled: false