[ACS-8956] Introduce new ESLint rule for self-closing tags (#10354)

This commit is contained in:
MichalKinas
2024-11-04 10:58:24 +01:00
committed by GitHub
parent 3f1b88a62c
commit f07636e297
247 changed files with 710 additions and 1359 deletions

View File

@@ -185,7 +185,10 @@ module.exports = {
{
files: ['*.html'],
extends: ['plugin:@angular-eslint/template/recommended', 'plugin:@angular-eslint/template/accessibility'],
rules: {}
parser: '@angular-eslint/template-parser',
rules: {
'@angular-eslint/template/prefer-self-closing-tags': 'error'
}
},
{
files: ['*.spec.ts'],