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.
I'm considering that adding an option to select ordering style.
I know some users want to customize ordering.
@typescript-eslint/member-orderingis highly customizable. On the other hand, I'm considering supporting fully-customizable ordering is not good choice because:So I'm planning to implement an option to support several popular ordering style. Tell me ordering styles you prefer. Thanks.