You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and my issue is unique
My issue appears in the command-line and not only in the text editor
Description Overview
The eslint-config-airbnb plugin does not have the correct type for the Flat Config whether it be using the tselint config helper from typescript-eslint or using the Linter type from eslint
importreactPluginfrom"eslint-plugin-react";importtseslintfrom'typescript-eslint';import{typeLinter}from"eslint";constreactConfigRecommended=reactPlugin.configs.flat!.recommendedconsttsEslintConfig=tseslint.config(reactConfigRecommended,);// error: Argument of type ReactFlagConfig is not assignable to parameter of type InfiniteDepthConfigWithExtendsconstlinterConfig: Linter.Config[]=[reactConfigRecommended,}];// error: Type ReactFlagConfig is not assignable to type Config<RulesRecord>
### ExpectedBehaviorIwouldexpecttherenottobeatypeconflicterror.
### eslint-plugin-reactversion7.37.2
### eslintversion8.57.1
### nodeversion18.20.3
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description Overview
The
eslint-config-airbnb
plugin does not have the correct type for the Flat Config whether it be using the tselint config helper fromtypescript-eslint
or using the Linter type fromeslint
The text was updated successfully, but these errors were encountered: