diff --git a/.eslintrc.json b/.eslintrc.json index 2fbf4fa4a..ec016b6a0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -40,14 +40,15 @@ "files": ["*.ts"], "extends": [ "plugin:@nrwl/nx/angular", - "plugin:import/recommended", - "airbnb-typescript/base", "eslint:recommended", "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/recommended--extra", "plugin:@angular-eslint/template/process-inline-templates", "plugin:prettier/recommended" ], + "parserOptions": { + "project": "./tsconfig.base.json" + }, "rules": { "@angular-eslint/no-conflicting-lifecycle": "error", "@angular-eslint/no-host-metadata-property": "error", @@ -137,9 +138,6 @@ "guard-for-in": "error", "id-blacklist": "off", "id-match": "off", - "import/prefer-default-export": "off", - "import/no-deprecated": "warn", - "import/no-extraneous-dependencies": "off", "no-bitwise": "error", "no-caller": "error", "no-console": "off", diff --git a/apps/red-ui/.eslintrc.json b/apps/red-ui/.eslintrc.json index 3261c1447..d5048e831 100644 --- a/apps/red-ui/.eslintrc.json +++ b/apps/red-ui/.eslintrc.json @@ -5,10 +5,7 @@ { "files": ["**/*.ts"], "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": ["apps/red-ui/tsconfig.json"] - }, - "extends": ["plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking"], + "extends": ["plugin:@typescript-eslint/recommended"], "rules": { "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-unsafe-assignment": "off", diff --git a/libs/common-ui b/libs/common-ui index 7aff7aebc..85110b57f 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 7aff7aebcf825c621c1d83126673d4818d5326e1 +Subproject commit 85110b57fb1c78a0f535aed530d37c4d9140f224 diff --git a/libs/iqser-cache/.eslintrc.json b/libs/iqser-cache/.eslintrc.json index e5dc492f3..894390ec2 100644 --- a/libs/iqser-cache/.eslintrc.json +++ b/libs/iqser-cache/.eslintrc.json @@ -4,9 +4,6 @@ "overrides": [ { "files": ["**/*.ts"], - "parserOptions": { - "project": ["libs/iqser-cache/tsconfig.json"] - }, "rules": { "@angular-eslint/directive-selector": [ "error", diff --git a/libs/red-domain/.eslintrc.json b/libs/red-domain/.eslintrc.json index 6b14380c1..1df9aa4e3 100644 --- a/libs/red-domain/.eslintrc.json +++ b/libs/red-domain/.eslintrc.json @@ -4,9 +4,6 @@ "overrides": [ { "files": ["*.ts"], - "parserOptions": { - "project": ["libs/red-domain/tsconfig.json"] - }, "rules": { "@angular-eslint/directive-selector": [ "error", diff --git a/package.json b/package.json index d0bd4cd6b..2ba4ee496 100644 --- a/package.json +++ b/package.json @@ -85,10 +85,7 @@ "axios": "^0.27.2", "dotenv": "16.0.1", "eslint": "8.17.0", - "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "8.5.0", - "eslint-plugin-import": "2.26.0", "eslint-plugin-prettier": "^4.0.0", "google-translate-api-browser": "^1.1.71", "husky": "^8.0.1",