mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Use tuple instead of array for Rule::SPECIAL
				
					
				
			This commit is contained in:
		
							parent
							
								
									6bd18f9cbf
								
							
						
					
					
						commit
						39cc286263
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,10 @@
 | 
			
		|||
module Ameba::Rule
 | 
			
		||||
  # List of names of the special rules, which
 | 
			
		||||
  # behave differently than usual rules.
 | 
			
		||||
  SPECIAL = [
 | 
			
		||||
  SPECIAL = {
 | 
			
		||||
    Lint::Syntax.rule_name,
 | 
			
		||||
    Lint::UnneededDisableDirective.rule_name,
 | 
			
		||||
  ]
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # Represents a base of all rules. In other words, all rules
 | 
			
		||||
  # inherits from this struct:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue