diff --git a/angular.json b/angular.json index 8855c83a2..a83c9464a 100644 --- a/angular.json +++ b/angular.json @@ -127,9 +127,9 @@ "builder": "@angular-eslint/builder:lint", "options": { "eslintConfig": ".eslintrc.json", - "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" + "lintFilePatterns": [ + "src/**.ts", + "main.ts" ], "exclude": [ "**/node_modules/**" @@ -146,8 +146,8 @@ "builder": "@angular-eslint/builder:lint", "options": { "eslintConfig": ".eslintrc.json", - "tsConfig": [ - "e2e/tsconfig.e2e.json" + "lintFilePatterns": [ + "e2e/**.ts" ], "exclude": [ "**/node_modules/**" diff --git a/e2e/tsconfig.e2e.json b/e2e/tsconfig.e2e.json index c93490361..5f75d4372 100644 --- a/e2e/tsconfig.e2e.json +++ b/e2e/tsconfig.e2e.json @@ -9,6 +9,6 @@ ] }, "include": [ - "e2e/*.ts" + "**.ts" ] } diff --git a/src/typings.d.ts b/src/typings.d.ts index 1c0e6df1e..cf117a1a7 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -1,5 +1,5 @@ /* SystemJS module definition */ -declare var nodeModule: NodeModule; +declare const nodeModule: NodeModule; interface NodeModule { id: string; }