MOBILE-3947 eslint: Add prefer-self-closing-tags error rule

main
Pau Ferrer Ocaña 2023-11-24 12:28:10 +01:00
parent 7c31e79bbd
commit 08f8208186
1 changed files with 11 additions and 10 deletions

View File

@ -332,10 +332,11 @@ module.exports = {
'@angular-eslint/template/alt-text': 'error',
'@angular-eslint/template/elements-content': '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-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 }],
},
},