Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
21620943
Commit
21620943
authored
May 30, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Lint/BlockAlignment Rubocop cop
See #17478
parent
43c35b0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.rubocop.yml
.rubocop.yml
+1
-1
app/helpers/issues_helper.rb
app/helpers/issues_helper.rb
+2
-2
No files found.
.rubocop.yml
View file @
21620943
...
...
@@ -785,7 +785,7 @@ Lint/AssignmentInCondition:
# Align block ends correctly.
Lint/BlockAlignment
:
Enabled
:
fals
e
Enabled
:
tru
e
# Default values in optional keyword arguments and optional ordinal arguments
# should not refer back to the name of the argument.
...
...
app/helpers/issues_helper.rb
View file @
21620943
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment