AutoFix RuboCop Layout/TrailingEmptyLines

This commit is contained in:
Pieter Oliver 2025-06-30 12:41:37 +01:00
parent 433ace3101
commit abcef47505
4 changed files with 3 additions and 13 deletions

View file

@ -29,16 +29,6 @@ Gemspec/RequiredRubyVersion:
Exclude:
- 'grape_logging.gemspec'
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- 'lib/grape_logging/multi_io.rb'
- 'lib/grape_logging/reporters/active_support_reporter.rb'
- 'lib/grape_logging/timings.rb'
# Offense count: 1
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
Lint/DuplicateBranch:

View file

@ -12,4 +12,4 @@ module GrapeLogging
@targets.each(&:close)
end
end
end
end

View file

@ -8,4 +8,4 @@ module Reporters
ActiveSupport::Notifications.instrument @instrumentation_key, params
end
end
end
end

View file

@ -18,4 +18,4 @@ module GrapeLogging
self.db_runtime += event.duration
end
end
end
end