Skip to content

New Rule Proposal: no-arbitrary-module-namespace-names #86

@ota-meshi

Description

@ota-meshi

Please describe what the rule should do:

Disallow arbitrary module namespace names, added in ES2022.

tc39/ecma262#2154

Provide 2-3 code examples that this rule will warn about:

export { foo as "str" }

import { "str" as foo } from "mod";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions