From 384727565962177135394679bfd19e97f9ae380c Mon Sep 17 00:00:00 2001 From: Aritra Chatterjee Date: Tue, 12 Mar 2024 16:32:52 +0530 Subject: [PATCH] update eslint rule --- packages/webapp/.eslintrc.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webapp/.eslintrc.cjs b/packages/webapp/.eslintrc.cjs index 5840de8e..39739480 100644 --- a/packages/webapp/.eslintrc.cjs +++ b/packages/webapp/.eslintrc.cjs @@ -9,7 +9,7 @@ const config = { }, plugins: ["@typescript-eslint", "simple-import-sort"], root: true, - ignorePatterns: ["node_modules", "src/hooks/useScrollBox.ts"], + ignorePatterns: ["node_modules", "src/generated.ts"], rules: { "@typescript-eslint/no-unsafe-argument": "off", "@typescript-eslint/restrict-template-expressions": "off", @@ -21,7 +21,7 @@ const config = { "@typescript-eslint/no-restricted-imports": [ "error", { - patterns: ["!./*", "!../*"], + patterns: ["./*", "../*"], }, ],