Enable Lint/BlockAlignment Rubocop cop

See #17478
This commit is contained in:
Grzegorz Bizon 2016-05-30 10:24:02 +02:00
parent 43c35b0f20
commit 21620943b0
2 changed files with 3 additions and 3 deletions

View File

@ -785,7 +785,7 @@ Lint/AssignmentInCondition:
# Align block ends correctly.
Lint/BlockAlignment:
Enabled: false
Enabled: true
# Default values in optional keyword arguments and optional ordinal arguments
# should not refer back to the name of the argument.

View File

@ -147,8 +147,8 @@ module IssuesHelper
def emoji_author_list(notes, current_user)
list = notes.map do |note|
note.author == current_user ? "me" : note.author.name
end
note.author == current_user ? "me" : note.author.name
end
list.join(", ")
end