From d896849ba2e6f2b349b2b2283e94774084cf3b8a Mon Sep 17 00:00:00 2001 From: Marina Stoyanova Date: Tue, 6 Aug 2024 14:25:22 +0300 Subject: [PATCH] Updating lint versions and adding lint configuration in angular.json file --- .../igx-ts/projects/_base/files/angular.json | 12 ++++++++++++ .../igx-ts/projects/_base/files/package.json | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/igx-templates/igx-ts/projects/_base/files/angular.json b/packages/igx-templates/igx-ts/projects/_base/files/angular.json index 120a7e0ed..33062cc5e 100644 --- a/packages/igx-templates/igx-ts/projects/_base/files/angular.json +++ b/packages/igx-templates/igx-ts/projects/_base/files/angular.json @@ -106,8 +106,20 @@ ] } } + }, + "lint": { + "builder": "@angular-eslint/builder:lint", + "options": { + "lintFilePatterns": [ + "src/**/*.ts", + "src/**/*.html" + ] + } } } } + }, + "cli": { + "schematicCollections": ["@angular-eslint/schematics"] } } diff --git a/packages/igx-templates/igx-ts/projects/_base/files/package.json b/packages/igx-templates/igx-ts/projects/_base/files/package.json index 3c9b4d14a..e24dd8fb3 100644 --- a/packages/igx-templates/igx-ts/projects/_base/files/package.json +++ b/packages/igx-templates/igx-ts/projects/_base/files/package.json @@ -36,9 +36,9 @@ "@angular/cli": "~17.2.0", "@angular/compiler-cli": "~17.2.0", "@types/jasmine": "~5.1.1", - "@typescript-eslint/eslint-plugin": "6.9.1", - "@typescript-eslint/parser": "6.9.1", - "eslint": "~8.52.0", + "@typescript-eslint/eslint-plugin": "~7.11.0", + "@typescript-eslint/parser": "~7.11.0", + "eslint": "~8.57.0", "igniteui-cli": "~<%=cliVersion%>", "jasmine-core": "~5.1.0", "karma": "~6.4.0",