From 168decc9214073d34b850170350dda5becc74da0 Mon Sep 17 00:00:00 2001 From: Gus Narea Date: Thu, 12 Sep 2024 22:12:48 +0100 Subject: [PATCH] Drop Shopify rules Because support for ESLint 9 doesn't seem to be coming any time soon: https://github.com/Shopify/web-configs/issues/425 --- base.json | 3 --- package.json | 1 - ts-for-js.json | 6 +----- ts.json | 2 -- 4 files changed, 1 insertion(+), 11 deletions(-) diff --git a/base.json b/base.json index fdabde7..9f02a1a 100644 --- a/base.json +++ b/base.json @@ -11,7 +11,6 @@ "no-constructor-bind", "ext", "putout", - "@shopify", "regexp", "anti-trojan-source" ], @@ -658,8 +657,6 @@ { "exceptBetweenSingleLines": true } ], - "@shopify/no-useless-computed-properties": "error", - "regexp/match-any": "error", "regexp/no-empty-capturing-group": "error", "regexp/no-dupe-characters-character-class": "error", diff --git a/package.json b/package.json index 1d71250..fbe43b6 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,6 @@ "@relaycorp/shared-config": "^1.14.1" }, "dependencies": { - "@shopify/eslint-plugin": "^45.0.0", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": ">= 6.21.0", "eslint": ">= 8", diff --git a/ts-for-js.json b/ts-for-js.json index c5071e2..1a55d69 100644 --- a/ts-for-js.json +++ b/ts-for-js.json @@ -5,7 +5,6 @@ "@typescript-eslint", "sort-class-members", "decorator-position", - "@shopify" ], "rules": { @@ -171,9 +170,6 @@ } ], - "decorator-position/decorator-position": ["error", {"properties": "above"}], - - "@shopify/prefer-class-properties": "error", - "@shopify/no-fully-static-classes": "error" + "decorator-position/decorator-position": ["error", {"properties": "above"}] } } diff --git a/ts.json b/ts.json index eb0d029..444a81c 100644 --- a/ts.json +++ b/ts.json @@ -98,8 +98,6 @@ { "avoidEscape": true, "allowTemplateLiterals": false } ], - "@shopify/typescript/prefer-singular-enums": "error", - "import/no-unused-modules": [ "error", { "missingExports": false, "unusedExports": true }