Commit 21620943 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Enable Lint/BlockAlignment Rubocop cop

See #17478
parent 43c35b0f
......@@ -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.
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment