MOBILE-3609 lint: Allow underscores in private
This commit is contained in:
		
							parent
							
								
									07a389be6b
								
							
						
					
					
						commit
						159613bdb5
					
				| @ -102,6 +102,12 @@ const appConfig = { | |||||||
|                 selector: 'property', |                 selector: 'property', | ||||||
|                 format: ['camelCase'], |                 format: ['camelCase'], | ||||||
|             }, |             }, | ||||||
|  |             { | ||||||
|  |                 selector: 'property', | ||||||
|  |                 modifiers: ['private'], | ||||||
|  |                 format: ['camelCase'], | ||||||
|  |                 leadingUnderscore: 'allow', | ||||||
|  |             }, | ||||||
|         ], |         ], | ||||||
|         '@typescript-eslint/no-empty-function': 'error', |         '@typescript-eslint/no-empty-function': 'error', | ||||||
|         '@typescript-eslint/no-empty-interface': 'off', |         '@typescript-eslint/no-empty-interface': 'off', | ||||||
| @ -201,7 +207,6 @@ const appConfig = { | |||||||
|         'no-new-wrappers': 'error', |         'no-new-wrappers': 'error', | ||||||
|         'no-sequences': 'error', |         'no-sequences': 'error', | ||||||
|         'no-trailing-spaces': 'error', |         'no-trailing-spaces': 'error', | ||||||
|         'no-underscore-dangle': 'error', |  | ||||||
|         'no-unused-labels': 'error', |         'no-unused-labels': 'error', | ||||||
|         'no-var': 'error', |         'no-var': 'error', | ||||||
|         'object-curly-spacing': ['error', 'always'], |         'object-curly-spacing': ['error', 'always'], | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user