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

Bug: does not sort in-line typings #64

Closed
2 tasks done
askew07 opened this issue Sep 6, 2023 · 2 comments
Closed
2 tasks done

Bug: does not sort in-line typings #64

askew07 opened this issue Sep 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@askew07
Copy link

askew07 commented Sep 6, 2023

Describe the bug

When sorting objects, seems like in-line TypeScript parameter types are not being sorted as expected.

Code example

This

image

Becomes this:

image

The arguments are sorted, but the in-line types are not.

ESLint version

v8.45.0

ESLint Plugin Perfectionist version

v.2.0.0

Additional comments

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@askew07 askew07 added the bug Something isn't working label Sep 6, 2023
@azat-io
Copy link
Owner

azat-io commented Sep 12, 2023

I'm having trouble reproducing the problem. Could you show me your ESLint config?
Are you using sort-object-types rule?

@askew07
Copy link
Author

askew07 commented Sep 16, 2023

@azat-io Apologies for the delay. I tried this once more with latest of your plugin (2.1.0) and... I am no longer reproducing the issue. Now sure when this was fixed, but I could easily replicate the issue in previous versions.

Anyway, closing this, as this is no longer an issue. Thanks!

@askew07 askew07 closed this as completed Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants