Skip to content
Snippets Groups Projects
Commit 21620943 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Enable Lint/BlockAlignment Rubocop cop

See #17478
parent 43c35b0f
No related branches found
No related tags found
No related merge requests found
Loading
@@ -785,7 +785,7 @@ Lint/AssignmentInCondition:
Loading
@@ -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.
Loading
Loading
Loading
@@ -147,8 +147,8 @@ module IssuesHelper
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment