ref/ keep only 1 eslint config
This commit is contained in:
@@ -17,7 +17,11 @@
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 10,
|
||||
"project": "src/tsconfig.app.json",
|
||||
"project": [
|
||||
"./src/tsconfig.app.json",
|
||||
"./src/tsconfig.spec.json",
|
||||
"./e2e/tsconfig.e2e.json"
|
||||
],
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": {
|
||||
"modules": true
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
"lint": {
|
||||
"builder": "@angular-eslint/builder:lint",
|
||||
"options": {
|
||||
"eslintConfig": "src/eslintrc.app.json",
|
||||
"eslintConfig": ".eslintrc.json",
|
||||
"tsConfig": [
|
||||
"src/tsconfig.app.json",
|
||||
"src/tsconfig.spec.json"
|
||||
@@ -146,7 +146,7 @@
|
||||
"lint": {
|
||||
"builder": "@angular-eslint/builder:lint",
|
||||
"options": {
|
||||
"eslintConfig": "e2e/eslintrc.e2e.json",
|
||||
"eslintConfig": ".eslintrc.json",
|
||||
"tsConfig": [
|
||||
"e2e/tsconfig.e2e.json"
|
||||
],
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../.eslintrc.json",
|
||||
"parserOptions": {
|
||||
"project": [
|
||||
"e2e/tsconfig.e2e.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,6 @@
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
"e2e/**/*.ts"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"extends": "../.eslintrc.json",
|
||||
"parserOptions": {
|
||||
"project": [
|
||||
"src/tsconfig.app.json",
|
||||
"src/tsconfig.spec.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user