mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-11417] lint enable angular eslint prefer inject rule default in ng20 for alfresco apps (#5111)
* [ACS-11417] Enable inject prefer eslint rule * [ACS-11417] Added eslint rule for prefer readonly * [ACS-11417] Fixed unit tests * [ACS-11417] Addressed copilot comments
This commit is contained in:
+3
-1
@@ -306,7 +306,9 @@
|
||||
"selector": ":matches(Literal[value=/ng-reflect-/], TemplateElement[value.cooked=/ng-reflect-/])",
|
||||
"message": "*ng-reflect-* attributes should not be used. Consider alternatives for proper selectors."
|
||||
}
|
||||
]
|
||||
],
|
||||
"@angular-eslint/prefer-inject": "error",
|
||||
"@typescript-eslint/prefer-readonly": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user