Skip to content

Linter.FlatConfig type is deprecated #985

Closed
@roottool

Description

@roottool

Plugin version

v7.1.1

What problem do you want to solve?

The Linter.FlatConfig type provided by ESLint is currently deprecated.

'flat/angular': Linter.FlatConfig;
'flat/dom': Linter.FlatConfig;
'flat/marko': Linter.FlatConfig;
'flat/react': Linter.FlatConfig;
'flat/svelte': Linter.FlatConfig;
'flat/vue': Linter.FlatConfig;

Your take on the correct solution?

The type definition will be converted from Linter.FlatConfig to Linter.Config.

[at]deprecated Use Config instead of FlatConfig
https://github.com/eslint/eslint/blob/8bcd820f37f2361e4f7261a9876f52d21bd9de8f/lib/types/index.d.ts#L1319

Anything else?

No response

Do you want to submit a pull request to implement this change?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriagePending to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions