mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-11153] Changed eslint rule for ng-reflect after copilot suggestion in ACA (#11673)
This commit is contained in:
+1
-1
@@ -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.'
|
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.'
|
message: '*ng-reflect-* attributes should not be used. Consider alternatives for proper selectors.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user