ref/ keep only 1 eslint config

This commit is contained in:
Maxime GRIS
2020-06-20 20:09:10 +02:00
parent a98a84a9e6
commit e942747202
5 changed files with 62 additions and 75 deletions

View File

@@ -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

View File

@@ -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"
],

View File

@@ -1,8 +0,0 @@
{
"extends": "../.eslintrc.json",
"parserOptions": {
"project": [
"e2e/tsconfig.e2e.json"
]
}
}

View File

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

View File

@@ -1,9 +0,0 @@
{
"extends": "../.eslintrc.json",
"parserOptions": {
"project": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
]
}
}