From e0206a0be607a189468c9fe0b0d031ae31a38779 Mon Sep 17 00:00:00 2001 From: Neal Chambers Date: Mon, 24 Jul 2023 23:46:11 +0900 Subject: [PATCH] Safely autocorrect Layout/TrailingEmptyLines Inspecting 1479 files ..C.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Offenses: Rakefile:10:1: C: [Corrected] Layout/TrailingEmptyLines: 1 trailing blank lines detected. 1479 files inspected, 1 offense detected, 1 offense corrected --- .rubocop_todo.yml | 8 -------- Rakefile | 1 - 2 files changed, 9 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 798ac90d52..bef7010579 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -34,14 +34,6 @@ Layout/LineLength: - 'spec/system/consumer/shopping/cart_spec.rb' - 'spec/system/consumer/shopping/products_spec.rb' -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: final_newline, final_blank_line -Layout/TrailingEmptyLines: - Exclude: - - 'Rakefile' - # Offense count: 79 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowInHeredoc. diff --git a/Rakefile b/Rakefile index 3a8f4a342c..c0443f147f 100755 --- a/Rakefile +++ b/Rakefile @@ -7,4 +7,3 @@ require_relative 'config/application' Openfoodnetwork::Application.load_tasks -