bryanrsmith / eslint-plugin-sort-class-members

An ESLint rule for enforcing consistent ES6 class member order
119 stars 21 forks source link

Support to match private methods/properties by keywords #68

Closed KarolSiedlik closed 2 years ago

KarolSiedlik commented 3 years ago

Methods and properties are now checked against their accessibility, allowing to sort them by this value. #56

KarolSiedlik commented 3 years ago

Added unit tests to cover this feature. Replaced default parser in RuleTester with @typescript-eslint/parser to allow testing public/private properties. It should not affect the current test cases.

KarolSiedlik commented 3 years ago

The schema was updated with a recent private field.

bryanrsmith commented 2 years ago

Closing due to inactivity. Support for matching ecma private fields was added #74.