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 6ed3b6992..99311d52a 100644 --- a/packages/igx-templates/igx-ts/projects/_base/files/package.json +++ b/packages/igx-templates/igx-ts/projects/_base/files/package.json @@ -6,7 +6,8 @@ "start": "ng serve -o", "build": "ng build", "watch": "ng build --watch --configuration development", - "test": "ng test" + "test": "ng test", + "lint": "ng lint" }, "private": true, "dependencies": { @@ -35,8 +36,8 @@ "@angular/cli": "~18.1.0", "@angular/compiler-cli": "~18.1.0", "@types/jasmine": "~5.1.1", - "@typescript-eslint/eslint-plugin": "6.9.1", - "@typescript-eslint/parser": "6.9.1", + "@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",