From eecbb8e5d61d930ed1344b302288e22d07749513 Mon Sep 17 00:00:00 2001 From: Lance Gliser Date: Tue, 1 Oct 2024 16:07:53 -0500 Subject: [PATCH] Disabled typecheckign for js files in tseslint --- eslint.config.mjs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 1330502..0f6ce69 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -2,11 +2,11 @@ import eslint from "@eslint/js"; import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"; -import tseslint from "typescript-eslint"; +import tsEslint from "typescript-eslint"; -export default tseslint.config( +export default tsEslint.config( eslint.configs.recommended, - ...tseslint.configs.recommended, + ...tsEslint.configs.recommended, eslintPluginPrettierRecommended, { languageOptions: { @@ -28,4 +28,8 @@ export default tseslint.config( ], }, }, + { + files: ["**/*.js"], + ...tsEslint.configs.disableTypeChecked, + }, );