Skip to content

Commit

Permalink
[ci] Remove files exclusion for AlignParameters
Browse files Browse the repository at this point in the history
We fix all the complains for Layout/AlignParameters cop.
  • Loading branch information
David Kang committed Dec 11, 2017
1 parent 193fa41 commit d36473e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: with_first_parameter, with_fixed_indentation
Layout/AlignParameters:
Exclude:
- 'src/api/app/views/statistics/rating.xml.builder'

# Offense count: 31
# Cop supports --auto-correct.
Layout/ClosingParenthesisIndentation:
Expand Down
8 changes: 4 additions & 4 deletions src/api/app/views/statistics/rating.xml.builder
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

if @package && @project
xml.rating( @rating[:score],
:count => @rating[:count], :project => @project, :package => @package,
:user_score => @rating[:user_score]
:count => @rating[:count], :project => @project, :package => @package,
:user_score => @rating[:user_score]
)
elsif @project
xml.rating( @rating[:score],
:count => @rating[:count], :project => @project,
:user_score => @rating[:user_score]
:count => @rating[:count], :project => @project,
:user_score => @rating[:user_score]
)
else
xml.rating
Expand Down

0 comments on commit d36473e

Please sign in to comment.