Skip to content

Repo: Enable alphabetical (natural) sorting of fields #8479

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

Spinning out of #8477 (comment): we're interested in maybe enabling https://eslint-plugin-perfectionist.azat.io/configs/recommended-natural or similar to enforce alphabetical sorting of fields. That likely includes methods and properties on classes, interfaces, objects, type aliases, and so on.

For reference I've used that rule in my http://github.com/JoshuaKGoldberg/create-typescript-app for quite a while now and have been very happy with it.

Metadata

Metadata

Labels

locked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docsteam assignedA member of the typescript-eslint team should work on this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions