From 2bcf7efbaf8078dfce4e24a5dd9a570103305962 Mon Sep 17 00:00:00 2001 From: Denis Sokolov Date: Thu, 21 Nov 2024 12:00:00 +0000 Subject: [PATCH] config: remove node import rules that require tailored tweaking --- src/config/imports.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/config/imports.ts b/src/config/imports.ts index 99cbcdf..c0348f2 100644 --- a/src/config/imports.ts +++ b/src/config/imports.ts @@ -4,15 +4,4 @@ export const importVerificationRules = { "@qawolf/restrict-react-namespace": "error", "import/no-duplicates": "error", - - "node/no-extraneous-import": "error", - "node/no-extraneous-require": "error", - "node/no-unpublished-import": [ - "error", - { tryExtensions: [".mjs", ".js", ".json", ".ts", ".tsx", ".d.ts"] }, - ], - "node/no-unpublished-require": [ - "error", - { tryExtensions: [".js", ".json", ".ts", ".tsx", ".d.ts"] }, - ], } satisfies Linter.Config["rules"];