mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	
							parent
							
								
									47088b10ca
								
							
						
					
					
						commit
						0f32ce0edb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -27,7 +27,7 @@ module Ameba::Rule::Naming | ||||||
|   class RescuedExceptionsVariableName < Base |   class RescuedExceptionsVariableName < Base | ||||||
|     properties do |     properties do | ||||||
|       description "Makes sure that rescued exceptions variables are named as expected" |       description "Makes sure that rescued exceptions variables are named as expected" | ||||||
|       allowed_names %w[e ex exception] |       allowed_names %w[e ex error exception] | ||||||
|     end |     end | ||||||
| 
 | 
 | ||||||
|     MSG          = "Disallowed variable name, use one of these instead: '%s'" |     MSG          = "Disallowed variable name, use one of these instead: '%s'" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue