sort-type-constituents
强制按字母顺序对类型并集/交集的成分进行排序.
🔧
此规则报告的一些问题可通过 --fix
ESLint 命令行选项自动修复。
💡
此规则报告的一些问题可以通过编辑器 建议 手动修复。
已弃用
此规则已被弃用,以支持 perfectionist/sort-intersection-types
和 perfectionist/sort-union-types
规则。
¥This rule has been deprecated in favor of the perfectionist/sort-intersection-types
and perfectionist/sort-union-types
rules.
有关更多信息,请参阅 文档:弃用 sort-type-constituents 而使用 eslint-plugin-perfectionist 和 eslint-plugin:功能冻结命名和排序样式规则。
¥See Docs: Deprecate sort-type-constituents in favor of eslint-plugin-perfectionist and eslint-plugin: Feature freeze naming and sorting stylistic rules for more information.
对并集(|