Skip to content

Rule proposal: require attributes in import/export declaration #2681

@fisker

Description

@fisker

Description

Similar to #2680

Examples

// ❌
import foo from "foo" with {};

// ✅
import foo from "foo";
// ❌
export {foo} from "foo" with {};

// ✅
export {foo} from "foo";

Proposed rule name

require-module-attributes

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions