From 8ed4507ac258704344231275d60611f23c0de85c Mon Sep 17 00:00:00 2001 From: Kluskey Date: Tue, 22 Oct 2024 16:23:46 -0700 Subject: [PATCH] fix tsconfig for js files --- mirror-2/.eslintrc.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/mirror-2/.eslintrc.json b/mirror-2/.eslintrc.json index 443e8777..16555d22 100644 --- a/mirror-2/.eslintrc.json +++ b/mirror-2/.eslintrc.json @@ -1,8 +1,18 @@ { - "extends": ["next/core-web-vitals", "next/typescript", "eslint:recommended"], + "extends": ["next/core-web-vitals", "next/typescript"], "rules": { "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-unused-vars": "warn", - "no-unused-vars": "warn" - } + "@typescript-eslint/no-unused-vars": "off" + }, + + "overrides": [ + { + "files": ["*.js", "*.jsx"], + "excludedFiles": [], + "extends": ["eslint:recommended"], + "rules": { + "no-unused-vars": "warn" + } + } + ] }