Rename sort-type-union-intersection-members to sort-type-constituents #5841
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
breaking change
This change will require a new major version to be released
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
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
tosort-type-constituents
to standardize & simplify the name.The text was updated successfully, but these errors were encountered: