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

JS class properties are sorted alphabetically #1357

Open
literat opened this issue Apr 22, 2024 · 1 comment
Open

JS class properties are sorted alphabetically #1357

literat opened this issue Apr 22, 2024 · 1 comment

Comments

@literat
Copy link
Collaborator

literat commented Apr 22, 2024

https://www.npmjs.com/package/eslint-plugin-sort-class-members

@adamkudrna
Copy link
Contributor

Are you sure? JS classes are not my "daily bread", but AFAIK you'd usually put getters/setters/helpers first, private methods before public ones, etc. But I don't have a strong opinion on this.

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

No branches or pull requests

2 participants