Skip to content

Remove default exports #1973

@marcalexiei

Description

@marcalexiei

Follow up of:

v3 introduced named exports and deprecated the default one. In v4 we should be able to remove them.

Removing index.ts from the following match should make the default export prune easier:

files: [
"**/index.ts", // to be removed in next release (v4) when we are dropping default export
"**/vitest.config.mts",
"**/eslint.config.mjs",
],
rules: {
"import-lite/no-default-export": "off",
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions