From bf68d0bba47f19f5228215aa303603981294de21 Mon Sep 17 00:00:00 2001 From: splincode Date: Fri, 11 Oct 2024 11:26:36 +0300 Subject: [PATCH] feat(eslint-plugin-experience): enable elements-content --- projects/eslint-plugin-experience/all.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/projects/eslint-plugin-experience/all.js b/projects/eslint-plugin-experience/all.js index 19b94934..02e41510 100644 --- a/projects/eslint-plugin-experience/all.js +++ b/projects/eslint-plugin-experience/all.js @@ -993,6 +993,20 @@ module.exports = { '@angular-eslint/template/alt-text': 'error', '@angular-eslint/template/banana-in-box': 'error', '@angular-eslint/template/button-has-type': 'error', + '@angular-eslint/template/elements-content': [ + 'error', + { + allowList: [ + 'aria-label', + 'innerHtml', + 'innerHTML', + 'innerText', + 'textContent', + 'outerHTML', + 'title', + ], + }, + ], '@angular-eslint/template/eqeqeq': [ 'error', {