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: ...@@ -785,7 +785,7 @@ Lint/AssignmentInCondition:
# Align block ends correctly. # Align block ends correctly.
Lint/BlockAlignment: Lint/BlockAlignment:
Enabled: false Enabled: true
# Default values in optional keyword arguments and optional ordinal arguments # Default values in optional keyword arguments and optional ordinal arguments
# should not refer back to the name of the argument. # should not refer back to the name of the argument.
......
...@@ -147,8 +147,8 @@ module IssuesHelper ...@@ -147,8 +147,8 @@ module IssuesHelper
def emoji_author_list(notes, current_user) def emoji_author_list(notes, current_user)
list = notes.map do |note| list = notes.map do |note|
note.author == current_user ? "me" : note.author.name note.author == current_user ? "me" : note.author.name
end end
list.join(", ") list.join(", ")
end 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