remove naming convention
	
		
			
	
		
	
	
		
	
		
			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:
		
							
								
								
									
										25
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								index.js
									
									
									
									
									
								
							| @@ -35,30 +35,7 @@ module.exports = { | ||||
|  | ||||
|   rules: { | ||||
|     '@typescript-eslint/camelcase': 'off', | ||||
|     '@typescript-eslint/naming-convention': ['error', | ||||
|       { selector: 'default', format: ['snake_case'] }, | ||||
|       { selector: 'typeLike', format: ['PascalCase'] }, | ||||
|       { | ||||
|         selector: 'property', | ||||
|         modifiers: ['private'], | ||||
|         format: ['snake_case'], | ||||
|         leadingUnderscore: 'require' | ||||
|       }, | ||||
|       { | ||||
|         selector: 'variable', | ||||
|         modifiers: ['destructured'], | ||||
|         format: null | ||||
|       }, | ||||
|       { | ||||
|         selector: 'variable', | ||||
|         modifiers: ['const', 'global'], | ||||
|         format: ['UPPER_CASE', 'snake_case'] | ||||
|       }, | ||||
|       { | ||||
|         selector: 'objectLiteralProperty', | ||||
|         format: ['camelCase', 'snake_case'] | ||||
|       } | ||||
|     ], | ||||
|     '@typescript-eslint/naming-convention': 'off', | ||||
|     '@typescript-eslint/no-use-before-define': 'off', | ||||
|     '@typescript-eslint/type-annotation-spacing': 'error', | ||||
|     '@typescript-eslint/sort-type-union-intersection-members': 'error', | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "@sapphirecode/eslint-config-ts", | ||||
|   "version": "1.2.1", | ||||
|   "version": "1.2.2", | ||||
|   "description": "scode eslint typescript configuration", | ||||
|   "main": "index.js", | ||||
|   "scripts": { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user