TypeStat
TypeStat copied to clipboard
chore(deps): update dependency eslint-plugin-perfectionist to v2.10.0
PR Checklist
- [ ] Addresses an existing open issue: fixes #000
- [ ] That issue was marked as
status: accepting prs - [x] Steps in CONTRIBUTING.md were taken
Overview
Supersedes https://github.com/JoshuaKGoldberg/TypeStat/pull/1582. This includes the lint fixes.
I'm not sure I think most of change are improvements here. It would more sense to keep existing way for some of them. So maybe it would be better to turn perfectionist/sort-intersection-types rule off for now? 🤔 I think it sort named types first and then add {} part. (Also see https://github.com/azat-io/eslint-plugin-perfectionist/issues/143 and https://github.com/azat-io/eslint-plugin-perfectionist/issues/128 - so there may be new config options later)
For example: NodeWithIdentifierName
It was:
export type NodeWithIdentifierName = ts.Node & {
name: ts.Identifier;
};
And now it is:
export type NodeWithIdentifierName = {
name: ts.Identifier;
} & ts.Node;
But that aside, this PR fixes the lint errors so we can update the eslint plugin :)