Skip to content

Rename sort-type-union-intersection-members to sort-type-constituents #5841

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Branching out from #5728 (comment): the correct term for one of the types in a | union or & intersection is a constituent. Or at least I think it is. Someone should correct me ASAP if not.

https://typescript-eslint.io/rules/no-redundant-type-constituents/ calls them constituents. I think we should rename sort-type-union-intersection-members to sort-type-constituents to standardize & simplify the name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions