Skip to content

[no-restricted-exports] Fails on export { default } from ... #2500

Open
@milesj

Description

@milesj

As the title states. Fails when re-exporting the default from another module.

export { default } from 'another-module';

This feels like it should pass, since this is not a named export. https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/es6.js#L67

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions