[ACS-11153] Changed eslint rule for ng-reflect after copilot suggestion in ACA (#11673)

This commit is contained in:
AleksanderSklorz
2026-02-20 15:41:11 +01:00
committed by GitHub
parent 57b8fe7174
commit 5935fbfb5b

View File

@@ -195,7 +195,7 @@ module.exports = {
message: 'Enums are not allowed. Use string literal types (e.g., type Foo = "a" | "b") or const objects instead.'
},
{
selector: 'Literal[value=/ng-reflect-/]',
selector: ':matches(Literal[value=/ng-reflect-/], TemplateElement[value.cooked=/ng-reflect-/])',
message: '*ng-reflect-* attributes should not be used. Consider alternatives for proper selectors.'
}
]