Skip to content

Possibility of defineConfigWithVueTs removal #217

@Tamas-hi

Description

@Tamas-hi

ESLint now has its own defineConfig helper since version 9.22. (https://eslint.org/blog/2025/03/eslint-v9.22.0-released/)

For the ease of usage, and because of other issues, typescript-eslint also deprecated their own helper function: typescript-eslint/typescript-eslint#10935

Is there a chance we can also get rid of the helper function here and use the defineConfig by ESLint? Something like this would be really easy to use and understand:

export default defineConfig(
    [
        globalIgnores(['**/dist']), // By default, only **/node_modules and ./git are ignored
    ],
    js.configs.recommended,
    tseslint.configs.strictTypeChecked,
    tseslint.configs.stylisticTypeChecked,
    {
        languageOptions: {
            parserOptions: {
                projectService: true,
            },
        },
    },
    pluginVue.configs["flat/recommended"],
    vueTsConfigs.strictTypeChecked,
    vueTsConfigs.stylisticTypeChecked
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions