style: require parentheses around regex arguments
This commit is contained in:
		
							parent
							
								
									63175498ed
								
							
						
					
					
						commit
						3edf569f7e
					
				@ -261,14 +261,6 @@ Naming/MemoizedInstanceVariableName:
 | 
			
		||||
  Exclude:
 | 
			
		||||
    - "Homebrew/lazy_object.rb"
 | 
			
		||||
 | 
			
		||||
# so many of these in formulae and can't be autocorrected
 | 
			
		||||
# TODO: fix these as `ruby -w` complains about them.
 | 
			
		||||
Lint/AmbiguousRegexpLiteral:
 | 
			
		||||
  Exclude:
 | 
			
		||||
    - "Taps/*/*/*.rb"
 | 
			
		||||
    - "/**/Formula/*.rb"
 | 
			
		||||
    - "**/Formula/*.rb"
 | 
			
		||||
 | 
			
		||||
# useful for metaprogramming in RSpec
 | 
			
		||||
Lint/ConstantDefinitionInBlock:
 | 
			
		||||
  Exclude:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user