Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sort-objects): adds multiline and method groups #330

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

hugop95
Copy link
Contributor

@hugop95 hugop95 commented Oct 18, 2024

Description

sort-interfaces and sort-object-types both handle the multiline and method groups.
This PR allows sort-objects to handle them as well.

Notes regarding the method group

Handles 3 syntaxes:

  • myFunc: () => {},
  • myFunc: function() {},
  • myFunc() {},

Clean code

Removes unused Position enum.

What is the purpose of this pull request?

  • New Feature

@azat-io azat-io merged commit 3ceb793 into azat-io:next Oct 18, 2024
8 checks passed
@azat-io
Copy link
Owner

azat-io commented Oct 18, 2024

Thanks!

@hugop95 hugop95 deleted the feat/sort-objects/new-groups branch October 18, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants