Rubocop: Style/AlignArray enabled
This commit is contained in:
parent
9fbdbf8b3f
commit
c427bf08e4
|
@ -17,7 +17,7 @@ Style/AlignArray:
|
||||||
Align the elements of an array literal if they span more than
|
Align the elements of an array literal if they span more than
|
||||||
one line.
|
one line.
|
||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays'
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Style/AlignHash:
|
Style/AlignHash:
|
||||||
Description: >-
|
Description: >-
|
||||||
|
|
|
@ -4,7 +4,7 @@ module Gitlab
|
||||||
include Enumerable
|
include Enumerable
|
||||||
|
|
||||||
def parse(lines)
|
def parse(lines)
|
||||||
@lines = lines,
|
@lines = lines
|
||||||
lines_obj = []
|
lines_obj = []
|
||||||
line_obj_index = 0
|
line_obj_index = 0
|
||||||
line_old = 1
|
line_old = 1
|
||||||
|
|
Loading…
Reference in New Issue