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

Enable Style/EmptyLinesAroundModuleBody cop

parent aa49c20e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -157,7 +157,7 @@ Style/EmptyLinesAroundClassBody:
 
# Keeps track of empty lines around module bodies.
Style/EmptyLinesAroundModuleBody:
Enabled: false
Enabled: true
 
# Keeps track of empty lines around method bodies.
Style/EmptyLinesAroundMethodBody:
Loading
Loading
module AvatarsHelper
def author_avatar(commit_or_event, options = {})
user_avatar(options.merge({
user: commit_or_event.author,
Loading
Loading
@@ -26,5 +25,4 @@ module AvatarsHelper
mail_to(options[:user_email], avatar)
end
end
end
module Banzai
module Filter
# Find every image that isn't already wrapped in an `a` tag, and that has
# 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.
Loading
Loading
@@ -54,6 +53,5 @@ module Banzai
container
end
end
end
end
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