mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-49656 eslint 10 migration (#12146)
* AAE-49656 eslint 10 migration * update
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ export default createESLintRule<unknown[], MessageIds>({
|
||||
create(context) {
|
||||
return {
|
||||
[ASTSelectors.join(',')](node: TSESTree.Literal | TSESTree.TemplateLiteral) {
|
||||
const message = filetypeErrors.find((fileTypeError) => context.getFilename().match(fileTypeError.regexp)) || {
|
||||
const message = filetypeErrors.find((fileTypeError) => context.filename.match(fileTypeError.regexp)) || {
|
||||
messageId: 'noAngularMaterialSelectors'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user