Skip to content

Bug: Argument type CompatibleConfigArray is not assignable to parameter type InfiniteDepthConfigWithExtends #11519

@rodrigoreis

Description

@rodrigoreis

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Playground Link

https://typescript-eslint.io/play/#ts=5.9.2&fileType=.tsx&code=FBA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6AQ2mncNqNPRREXAPbRIAGnDY8-clRr1kjFhwDu7SnXwALRE3YAjJIMjDoYyNIC%2BIa0A&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false

Repro Code

Seems that change from `TSESLint.FlatConfig.ConfigArray` to `CompatibleConfigArray` default configs is now warning:

Argument type `CompatibleConfigArray` is not assignable to parameter type `InfiniteDepthConfigWithExtends`

ESLint Config

import tseslint from 'typescript-eslint';

export default _eslint.config(
    tseslint.configs.strictTypeChecked,
    tseslint.configs.stylisticTypeChecked
);

tsconfig

Expected Result

No warnings

Actual Result

Argument type CompatibleConfigArray is not assignable to parameter type InfiniteDepthConfigWithExtends

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responseIssues waiting for a reply from the OP or another partybugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions