Skip to content

Tell me ordering styles you prefer. #63

Description

@seiyab

I'm considering that adding an option to select ordering style.

// Example 1
{"memberSortingStyle": "tseslint-default"}
// Example 2
{"memberSortingStyle": "alphabetical-only"}
// Example 3
{"memberSortingStyle": "xo"} // https://github.com/xojs/eslint-config-xo-typescript/blob/9791a067d6a119a21a4db72c02f1da95e25ffbb6/index.js#L243

I know some users want to customize ordering. @typescript-eslint/member-ordering is highly customizable. On the other hand, I'm considering supporting fully-customizable ordering is not good choice because:

  • It looks hard to maintain.
  • It doesn't match Prettier's philosophy, opinionated.

So I'm planning to implement an option to support several popular ordering style. Tell me ordering styles you prefer. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions