From b7e0df3130a8a031bf7331619fc1bfae81f61604 Mon Sep 17 00:00:00 2001 From: "Samuel E. Giddins" Date: Wed, 15 Jul 2015 20:39:12 -0700 Subject: [RuboCop] Enable Lint/EndAlignment --- .rubocop.yml | 9 +++++++-- .rubocop_todo.yml | 6 ------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index f7aad16f..61195f8f 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 55dd84ea..530dd873 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 -- cgit v1.2.3