Merge pull request #16403 from dduugg/trim-rubocop-rails
This commit is contained in:
		
						commit
						500a6b1a08
					
				@ -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:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user