Enable Style/EmptyLinesAroundClassBody cop

This commit is contained in:
Gabriel Mazetto 2016-08-06 03:52:24 +02:00
parent 2aa2f52191
commit 5f6223cf9f
3 changed files with 1 additions and 3 deletions

View File

@ -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:

View File

@ -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))

View File

@ -1,7 +1,6 @@
module Gitlab
module ImportExport
class AvatarRestorer
def initialize(project:, shared:)
@project = project
@shared = shared