From db869921e3b7cc8d8b73349f75f0ae1772faf357 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 26 Dec 2023 13:09:40 -0800 Subject: [PATCH] Remove irrelevant Rails cops --- Library/.rubocop.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 07225dc8f1..a1a78aa10c 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -208,26 +208,12 @@ Rails: - "Homebrew/rubocops/**/*" # These relate to ActiveSupport and not other parts of Rails. -Rails/ActiveSupportAliases: - Enabled: true Rails/Blank: Enabled: true Rails/CompactBlank: Enabled: true -Rails/Delegate: - Enabled: false # TODO -Rails/DelegateAllowBlank: - Enabled: true -Rails/DurationArithmetic: - Enabled: true -Rails/ExpandedDateRange: - Enabled: true -Rails/Inquiry: - Enabled: true Rails/NegateInclude: Enabled: true -Rails/PluralizationGrammar: - Enabled: true Rails/Presence: Enabled: true Rails/Present: @@ -235,16 +221,8 @@ Rails/Present: Exclude: # `present?` is defined as `!blank?` wihin this file - "Homebrew/extend/blank.rb" -Rails/RelativeDateConstant: - Enabled: true -Rails/SafeNavigation: - Enabled: true Rails/SafeNavigationWithBlank: Enabled: true -Rails/StripHeredoc: - Enabled: true -Rails/ToFormattedS: - Enabled: true # Intentionally disabled as it doesn't fit with our code style. RSpec/AnyInstance: