allow config objects to contain camelCase
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							
								
								
									
										4
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								index.js
									
									
									
									
									
								
							| @@ -53,6 +53,10 @@ module.exports = { | |||||||
|         selector: 'variable', |         selector: 'variable', | ||||||
|         modifiers: ['const', 'global'], |         modifiers: ['const', 'global'], | ||||||
|         format: ['UPPER_CASE', 'snake_case'] |         format: ['UPPER_CASE', 'snake_case'] | ||||||
|  |       }, | ||||||
|  |       { | ||||||
|  |         selector: 'objectLiteralProperty', | ||||||
|  |         format: ['camelCase', 'snake_case'] | ||||||
|       } |       } | ||||||
|     ], |     ], | ||||||
|     '@typescript-eslint/no-use-before-define': 'off', |     '@typescript-eslint/no-use-before-define': 'off', | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@sapphirecode/eslint-config-ts", |   "name": "@sapphirecode/eslint-config-ts", | ||||||
|   "version": "1.1.32", |   "version": "1.1.33", | ||||||
|   "description": "scode eslint typescript configuration", |   "description": "scode eslint typescript configuration", | ||||||
|   "main": "index.js", |   "main": "index.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user