fix/ ng lint config
This commit is contained in:
10
angular.json
10
angular.json
@@ -127,9 +127,9 @@
|
|||||||
"builder": "@angular-eslint/builder:lint",
|
"builder": "@angular-eslint/builder:lint",
|
||||||
"options": {
|
"options": {
|
||||||
"eslintConfig": ".eslintrc.json",
|
"eslintConfig": ".eslintrc.json",
|
||||||
"tsConfig": [
|
"lintFilePatterns": [
|
||||||
"src/tsconfig.app.json",
|
"src/**.ts",
|
||||||
"src/tsconfig.spec.json"
|
"main.ts"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"**/node_modules/**"
|
"**/node_modules/**"
|
||||||
@@ -146,8 +146,8 @@
|
|||||||
"builder": "@angular-eslint/builder:lint",
|
"builder": "@angular-eslint/builder:lint",
|
||||||
"options": {
|
"options": {
|
||||||
"eslintConfig": ".eslintrc.json",
|
"eslintConfig": ".eslintrc.json",
|
||||||
"tsConfig": [
|
"lintFilePatterns": [
|
||||||
"e2e/tsconfig.e2e.json"
|
"e2e/**.ts"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"**/node_modules/**"
|
"**/node_modules/**"
|
||||||
|
|||||||
@@ -9,6 +9,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"e2e/*.ts"
|
"**.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
2
src/typings.d.ts
vendored
2
src/typings.d.ts
vendored
@@ -1,5 +1,5 @@
|
|||||||
/* SystemJS module definition */
|
/* SystemJS module definition */
|
||||||
declare var nodeModule: NodeModule;
|
declare const nodeModule: NodeModule;
|
||||||
interface NodeModule {
|
interface NodeModule {
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user