Skip to content

ESLint v9+ still uses the unsupported filenames plugin in the recommended extension #580

@prince-chrismc

Description

@prince-chrismc

thank for the work on updating this , I saw #578 but I think there's at least one more reference to the plugin the recommended section

'filenames/match-regex': ['error', '^[a-z0-9-]+(.[a-z0-9-]+)?$'],

export default [{
    files: [
        "src/**/*.ts",
        "__tests__/**/*.ts",
    ],
    ignores: [
        "**/dist/",
        "**/lib/",
        "**/node_modules/",
        "**/jest.config.js",
    ],
}, ...compat.extends("plugin:github/recommended"), {
    plugins: {
        "@typescript-eslint": typescriptEslint,
    },

    languageOptions: {
        globals: {
            ...globals.node,
        },

        parser: tsParser,
        ecmaVersion: 2023,
        sourceType: "module",

        parserOptions: {
            project: "./tsconfig.json",
        },
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions