Skip to content
Snippets Groups Projects
Commit 5f6223cf authored by Gabriel Mazetto's avatar Gabriel Mazetto :spy_tone1:
Browse files

Enable Style/EmptyLinesAroundClassBody cop

parent 2aa2f521
No related branches found
No related tags found
No related merge requests found
Loading
@@ -153,7 +153,7 @@ Style/EmptyLinesAroundBlockBody:
Loading
@@ -153,7 +153,7 @@ Style/EmptyLinesAroundBlockBody:
   
# Keeps track of empty lines around class bodies. # Keeps track of empty lines around class bodies.
Style/EmptyLinesAroundClassBody: Style/EmptyLinesAroundClassBody:
Enabled: false Enabled: true
   
# Keeps track of empty lines around module bodies. # Keeps track of empty lines around module bodies.
Style/EmptyLinesAroundModuleBody: Style/EmptyLinesAroundModuleBody:
Loading
Loading
Loading
@@ -4,7 +4,6 @@ module Banzai
Loading
@@ -4,7 +4,6 @@ module Banzai
# a `src` attribute ending with a video extension, add a new video node and # 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. # a "Download" link in the case the video cannot be played.
class VideoLinkFilter < HTML::Pipeline::Filter class VideoLinkFilter < HTML::Pipeline::Filter
def call def call
doc.xpath(query).each do |el| doc.xpath(query).each do |el|
el.replace(video_node(doc, el)) el.replace(video_node(doc, el))
Loading
Loading
module Gitlab module Gitlab
module ImportExport module ImportExport
class AvatarRestorer class AvatarRestorer
def initialize(project:, shared:) def initialize(project:, shared:)
@project = project @project = project
@shared = shared @shared = shared
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment