forked from EVOgeek/Vmeda.Online
		
	MOBILE-3947 eslint: Add prefer-self-closing-tags error rule
This commit is contained in:
		
							parent
							
								
									7c31e79bbd
								
							
						
					
					
						commit
						08f8208186
					
				
							
								
								
									
										21
									
								
								.eslintrc.js
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								.eslintrc.js
									
									
									
									
									
								
							| @ -96,14 +96,14 @@ const appConfig = { | |||||||
|             'error', |             'error', | ||||||
|             { |             { | ||||||
|                 selector: [ |                 selector: [ | ||||||
|                   'classProperty', |                     'classProperty', | ||||||
|                   'objectLiteralProperty', |                     'objectLiteralProperty', | ||||||
|                   'typeProperty', |                     'typeProperty', | ||||||
|                   'classMethod', |                     'classMethod', | ||||||
|                   'objectLiteralMethod', |                     'objectLiteralMethod', | ||||||
|                   'typeMethod', |                     'typeMethod', | ||||||
|                   'accessor', |                     'accessor', | ||||||
|                   'enumMember' |                     'enumMember' | ||||||
|                 ], |                 ], | ||||||
|                 modifiers: ['requiresQuotes'], |                 modifiers: ['requiresQuotes'], | ||||||
|                 format: null, |                 format: null, | ||||||
| @ -332,10 +332,11 @@ module.exports = { | |||||||
|                 '@angular-eslint/template/alt-text': 'error', |                 '@angular-eslint/template/alt-text': 'error', | ||||||
|                 '@angular-eslint/template/elements-content': 'error', |                 '@angular-eslint/template/elements-content': 'error', | ||||||
|                 '@angular-eslint/template/label-has-associated-control': 'error', |                 '@angular-eslint/template/label-has-associated-control': 'error', | ||||||
|                 '@angular-eslint/template/table-scope': 'error', |  | ||||||
|                 '@angular-eslint/template/valid-aria': 'error', |  | ||||||
|                 '@angular-eslint/template/no-duplicate-attributes': 'error', |                 '@angular-eslint/template/no-duplicate-attributes': 'error', | ||||||
|                 '@angular-eslint/template/no-positive-tabindex': 'error', |                 '@angular-eslint/template/no-positive-tabindex': 'error', | ||||||
|  |                 '@angular-eslint/template/prefer-self-closing-tags': 'error', | ||||||
|  |                 '@angular-eslint/template/table-scope': 'error', | ||||||
|  |                 '@angular-eslint/template/valid-aria': 'error', | ||||||
|                 'max-len': ['warn', { code: 140 }], |                 'max-len': ['warn', { code: 140 }], | ||||||
|             }, |             }, | ||||||
|         }, |         }, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user