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