Fix Style/RedundantReturn cop (#28391)
				
					
				
			This commit is contained in:
		@@ -426,15 +426,6 @@ Style/RedundantFetchBlock:
 | 
			
		||||
    - 'config/initializers/paperclip.rb'
 | 
			
		||||
    - 'config/puma.rb'
 | 
			
		||||
 | 
			
		||||
# This cop supports safe autocorrection (--autocorrect).
 | 
			
		||||
# Configuration parameters: AllowMultipleReturnValues.
 | 
			
		||||
Style/RedundantReturn:
 | 
			
		||||
  Exclude:
 | 
			
		||||
    - 'app/controllers/api/v1/directories_controller.rb'
 | 
			
		||||
    - 'app/controllers/auth/confirmations_controller.rb'
 | 
			
		||||
    - 'app/lib/ostatus/tag_manager.rb'
 | 
			
		||||
    - 'app/models/form/import.rb'
 | 
			
		||||
 | 
			
		||||
# This cop supports unsafe autocorrection (--autocorrect-all).
 | 
			
		||||
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
 | 
			
		||||
# AllowedMethods: present?, blank?, presence, try, try!
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user