Skip to content

Commit

Permalink
Merge pull request #16403 from dduugg/trim-rubocop-rails
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Dec 27, 2023
2 parents 719c892 + db86992 commit 500a6b1
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Library/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,43 +208,21 @@ 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:
Enabled: true
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:
Expand Down

0 comments on commit 500a6b1

Please sign in to comment.