Remove irrelevant Rails cops
This commit is contained in:
parent
b72421e258
commit
db869921e3
@ -208,26 +208,12 @@ Rails:
|
|||||||
- "Homebrew/rubocops/**/*"
|
- "Homebrew/rubocops/**/*"
|
||||||
|
|
||||||
# These relate to ActiveSupport and not other parts of Rails.
|
# These relate to ActiveSupport and not other parts of Rails.
|
||||||
Rails/ActiveSupportAliases:
|
|
||||||
Enabled: true
|
|
||||||
Rails/Blank:
|
Rails/Blank:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Rails/CompactBlank:
|
Rails/CompactBlank:
|
||||||
Enabled: true
|
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:
|
Rails/NegateInclude:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Rails/PluralizationGrammar:
|
|
||||||
Enabled: true
|
|
||||||
Rails/Presence:
|
Rails/Presence:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Rails/Present:
|
Rails/Present:
|
||||||
@ -235,16 +221,8 @@ Rails/Present:
|
|||||||
Exclude:
|
Exclude:
|
||||||
# `present?` is defined as `!blank?` wihin this file
|
# `present?` is defined as `!blank?` wihin this file
|
||||||
- "Homebrew/extend/blank.rb"
|
- "Homebrew/extend/blank.rb"
|
||||||
Rails/RelativeDateConstant:
|
|
||||||
Enabled: true
|
|
||||||
Rails/SafeNavigation:
|
|
||||||
Enabled: true
|
|
||||||
Rails/SafeNavigationWithBlank:
|
Rails/SafeNavigationWithBlank:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Rails/StripHeredoc:
|
|
||||||
Enabled: true
|
|
||||||
Rails/ToFormattedS:
|
|
||||||
Enabled: true
|
|
||||||
|
|
||||||
# Intentionally disabled as it doesn't fit with our code style.
|
# Intentionally disabled as it doesn't fit with our code style.
|
||||||
RSpec/AnyInstance:
|
RSpec/AnyInstance:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user