azat-io / eslint-plugin-perfectionist

🦄 ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
https://eslint-plugin-perfectionist.azat.io
MIT License
1.62k stars 28 forks source link

feat(sort-classes): add decorators support #110

Closed chirokas closed 2 months ago

chirokas commented 2 months ago

Description

Closes #93!

This PR adds support for grouping decorated fields and methods separately, optionally specifying their accessibility.

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following

azat-io commented 2 months ago

Could you fix Prettier issues?

azat-io commented 2 months ago

Thank you! Released in v2.6.0.