summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:39:12 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:39:12 -0700
commitb7e0df3130a8a031bf7331619fc1bfae81f61604 (patch)
tree7b47aa424cbb9b9325b2701ca86cd9c7d415be5c
parentf5d381087522cf091041af03e766225745650866 (diff)
downloadbundler-b7e0df3130a8a031bf7331619fc1bfae81f61604.tar.gz
[RuboCop] Enable Lint/EndAlignment
-rw-r--r--.rubocop.yml9
-rw-r--r--.rubocop_todo.yml6
2 files changed, 7 insertions, 8 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index f7aad16fda..61195f8fe0 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -4,14 +4,19 @@ inherit_from:
AllCops:
Exclude:
- tmp/**/*
+ - lib/bundler/vendor/**/*
DisplayCopNames: true
-# Style
+# Lint
# They are idiomatic
-Style/AssignmentInCondition:
+Lint/AssignmentInCondition:
Enabled: false
+Lint/EndAlignment:
+ AlignWith: variable
+
+# Style
Style/MultilineOperationIndentation:
EnforcedStyle: indented
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 55dd84eaa3..530dd873aa 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -5,12 +5,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 13
-# Cop supports --auto-correct.
-# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
-Lint/EndAlignment:
- Enabled: false
-
# Offense count: 1
Lint/EnsureReturn:
Enabled: false