Configure Layout/EmptyLineBetweenDefs cop.
This commit is contained in:
parent
3d33e4a8e0
commit
6f929b603f
|
@ -6,6 +6,11 @@ AllCops:
|
|||
TargetRubyVersion: 2.4
|
||||
NewCops: enable
|
||||
|
||||
# Allow this in this file because adding the extra lines is pointless.
|
||||
Layout/EmptyLineBetweenDefs:
|
||||
Exclude:
|
||||
- 'lib/zip/errors.rb'
|
||||
|
||||
Layout/HashAlignment:
|
||||
EnforcedHashRocketStyle: table
|
||||
EnforcedColonStyle: table
|
||||
|
|
|
@ -6,13 +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: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
||||
Layout/EmptyLineBetweenDefs:
|
||||
Exclude:
|
||||
- 'lib/zip/errors.rb'
|
||||
|
||||
# Offense count: 3
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
|
||||
|
|
Loading…
Reference in New Issue