Enable Style/EmptyLinesAroundClassBody cop
This commit is contained in:
parent
2aa2f52191
commit
5f6223cf9f
|
@ -153,7 +153,7 @@ Style/EmptyLinesAroundBlockBody:
|
|||
|
||||
# Keeps track of empty lines around class bodies.
|
||||
Style/EmptyLinesAroundClassBody:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
# Keeps track of empty lines around module bodies.
|
||||
Style/EmptyLinesAroundModuleBody:
|
||||
|
|
|
@ -4,7 +4,6 @@ module Banzai
|
|||
# a `src` attribute ending with a video extension, add a new video node and
|
||||
# a "Download" link in the case the video cannot be played.
|
||||
class VideoLinkFilter < HTML::Pipeline::Filter
|
||||
|
||||
def call
|
||||
doc.xpath(query).each do |el|
|
||||
el.replace(video_node(doc, el))
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
module Gitlab
|
||||
module ImportExport
|
||||
class AvatarRestorer
|
||||
|
||||
def initialize(project:, shared:)
|
||||
@project = project
|
||||
@shared = shared
|
||||
|
|
Loading…
Reference in New Issue