From ffb9b6358900d08931c9b7c3650d28b982edae4b Mon Sep 17 00:00:00 2001 From: Nikos Vasileiou Date: Fri, 26 Jan 2024 12:59:52 +0200 Subject: [PATCH] Update eslint for major bump releases --- packages/angular/.eslintrc.json | 3 ++- packages/api/.eslintrc.json | 1 + packages/cli/.eslintrc.json | 5 ++++- packages/dom/.eslintrc.json | 1 + packages/express/.eslintrc.json | 1 + packages/i18next/.eslintrc.json | 1 + packages/react/.eslintrc.json | 1 + packages/vue2/.eslintrc | 1 + packages/vue3/.eslintrc | 1 + 9 files changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/angular/.eslintrc.json b/packages/angular/.eslintrc.json index 358a3529..981fc970 100644 --- a/packages/angular/.eslintrc.json +++ b/packages/angular/.eslintrc.json @@ -54,7 +54,8 @@ "tsdoc/syntax": "warn", "unicorn/filename-case": "off", // We are naming files with capitals // I think some of these are silly. `e` is bad, but `err` and `exc` are decent. `user of users` is confusing, `usr of users` is safer. - "unicorn/prevent-abbreviations": "off" + "unicorn/prevent-abbreviations": "off", + "import/no-unresolved": "off" }, "settings": { "import/resolver": { diff --git a/packages/api/.eslintrc.json b/packages/api/.eslintrc.json index 748b87cb..b36c073a 100644 --- a/packages/api/.eslintrc.json +++ b/packages/api/.eslintrc.json @@ -1,6 +1,7 @@ { "extends": ["airbnb-base"], "rules": { + "import/no-unresolved": "off", "import/no-extraneous-dependencies": "off", "no-plusplus": "off", "no-underscore-dangle": "off" diff --git a/packages/cli/.eslintrc.json b/packages/cli/.eslintrc.json index 8e86d322..ff1a42ac 100644 --- a/packages/cli/.eslintrc.json +++ b/packages/cli/.eslintrc.json @@ -1,4 +1,7 @@ { "ignorePatterns": ["**/fixtures/*"], - "extends": ["airbnb-base"] + "extends": ["airbnb-base"], + "rules": { + "import/no-unresolved": "off" + } } diff --git a/packages/dom/.eslintrc.json b/packages/dom/.eslintrc.json index 64427080..d34a1c2a 100644 --- a/packages/dom/.eslintrc.json +++ b/packages/dom/.eslintrc.json @@ -2,6 +2,7 @@ "extends": ["airbnb-base"], "rules": { "import/no-extraneous-dependencies": "off", + "import/no-unresolved": "off", "no-plusplus": "off", "no-underscore-dangle": "off" } diff --git a/packages/express/.eslintrc.json b/packages/express/.eslintrc.json index 64427080..d34a1c2a 100644 --- a/packages/express/.eslintrc.json +++ b/packages/express/.eslintrc.json @@ -2,6 +2,7 @@ "extends": ["airbnb-base"], "rules": { "import/no-extraneous-dependencies": "off", + "import/no-unresolved": "off", "no-plusplus": "off", "no-underscore-dangle": "off" } diff --git a/packages/i18next/.eslintrc.json b/packages/i18next/.eslintrc.json index 554e3952..c3111564 100644 --- a/packages/i18next/.eslintrc.json +++ b/packages/i18next/.eslintrc.json @@ -2,6 +2,7 @@ "extends": ["airbnb-base"], "rules": { "import/no-extraneous-dependencies": "off", + "import/no-unresolved": "off", "no-plusplus": "off", "no-underscore-dangle": "off" }, diff --git a/packages/react/.eslintrc.json b/packages/react/.eslintrc.json index 9852f523..77ea9f2b 100644 --- a/packages/react/.eslintrc.json +++ b/packages/react/.eslintrc.json @@ -1,6 +1,7 @@ { "extends": ["airbnb"], "rules": { + "import/no-unresolved": "off", "react/jsx-fragments": "off", "react/jsx-filename-extension": "off", "react/jsx-one-expression-per-line": "off" diff --git a/packages/vue2/.eslintrc b/packages/vue2/.eslintrc index 50465a30..c5c83ea5 100644 --- a/packages/vue2/.eslintrc +++ b/packages/vue2/.eslintrc @@ -1,6 +1,7 @@ { "extends": ["airbnb-base"], "rules": { + "import/no-unresolved": "off", "no-underscore-dangle": "off" }, "ignorePatterns": ["dist/"] diff --git a/packages/vue3/.eslintrc b/packages/vue3/.eslintrc index 50465a30..c5c83ea5 100644 --- a/packages/vue3/.eslintrc +++ b/packages/vue3/.eslintrc @@ -1,6 +1,7 @@ { "extends": ["airbnb-base"], "rules": { + "import/no-unresolved": "off", "no-underscore-dangle": "off" }, "ignorePatterns": ["dist/"]