fix/ ng lint config

This commit is contained in:
Maxime GRIS
2020-08-30 14:24:16 +02:00
parent b71c514dcc
commit 753f828653
3 changed files with 7 additions and 7 deletions

View File

@@ -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/**"

View File

@@ -9,6 +9,6 @@
]
},
"include": [
"e2e/*.ts"
"**.ts"
]
}

2
src/typings.d.ts vendored
View File

@@ -1,5 +1,5 @@
/* SystemJS module definition */
declare var nodeModule: NodeModule;
declare const nodeModule: NodeModule;
interface NodeModule {
id: string;
}