From c78b562f8bbc80b10592bd051a8b37413aa5b436 Mon Sep 17 00:00:00 2001 From: ITurres Date: Thu, 2 May 2024 01:01:15 -0300 Subject: [PATCH] Chore: update '.eslintrc.json' --- .eslintrc.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index a1f4b21..83367ed 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -18,7 +18,7 @@ "plugin:react/recommended", "plugin:react-hooks/recommended" ], - "plugins": ["react", "@typescript-eslint"], // *Include @typescript-eslint plugin + "plugins": ["react", "@typescript-eslint"], "rules": { "react/jsx-filename-extension": [ "error", @@ -28,7 +28,7 @@ "import/no-unresolved": "off", "no-shadow": "off", "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": ["error"] + "@typescript-eslint/no-use-before-define": "error" }, "overrides": [ { @@ -36,7 +36,7 @@ "rules": { "no-param-reassign": ["error", { "props": false }] } }, { - "files": ["src/**/*.ts", "src/**/*.tsx"], + "files": ["src/**/*.ts", "src/**/*.tsx", "types.d.ts"], // Include the types.d.ts file here "rules": { "no-undef": "off", "no-param-reassign": "off"