Safely autocorrect Layout/EmptyLinesAroundBlockBody

Inspecting 1478 files
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C...............................................................................

Offenses:

spec/system/admin/order_cycles/list_spec.rb:191:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.

1478 files inspected, 1 offense detected, 1 offense corrected
This commit is contained in:
David Cook
2023-07-20 13:59:53 +10:00
parent 6fa9165cc2
commit bc330b69a5
2 changed files with 0 additions and 9 deletions

View File

@@ -16,14 +16,6 @@ Gemspec/RequiredRubyVersion:
- 'engines/order_management/order_management.gemspec'
- 'engines/web/web.gemspec'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'spec/system/admin/order_cycles/list_spec.rb'
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.

View File

@@ -188,7 +188,6 @@ describe '
expect(find('input.datetimepicker',
match: :first).value).to eq test_value.to_datetime.strftime("%Y-%m-%d %H:%M")
end
end
end
end