From b47f70f46d7ab52439cc3fffdd351536f17eb4ab Mon Sep 17 00:00:00 2001 From: Andrea Ascari Date: Wed, 1 Jan 2025 20:46:10 +0100 Subject: [PATCH] chore: removed casting to any for eslint react plugin configuration (#1957) --- packages/@liexp/core/src/eslint/react.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/@liexp/core/src/eslint/react.config.ts b/packages/@liexp/core/src/eslint/react.config.ts index d214fd74d..d92191f84 100644 --- a/packages/@liexp/core/src/eslint/react.config.ts +++ b/packages/@liexp/core/src/eslint/react.config.ts @@ -15,8 +15,7 @@ const eslintConfig: Config = tseslint.config( files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"], ...react.configs.flat.recommended, plugins: { - // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion - react: react as any, + react, }, languageOptions: { ...react.configs.flat?.recommended.languageOptions,