Commit c61cf41d authored by Robert Speicher's avatar Robert Speicher

Merge branch 'style/enable-block-alignment-rubocop-lint' into 'master'

Enable Lint/BlockAlignment Rubocop cop

See #17478

See merge request !4346
parents 6eaf327a 21620943
......@@ -784,7 +784,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