Skip to content

No exports found when there's only export * from ... #435

@RobinBobin

Description

@RobinBobin

My config for this rule is

'import-x/no-unused-modules': [
  'error',
  {
    missingExports: true
  }
]

I get No exports found import-x/no-unused-modules if a file contains only export * from ... without any named exports.

Is it a bug or a feature?

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