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

Enable member-ordering rule #144

Open
Fryuni opened this issue Apr 4, 2022 · 0 comments
Open

Enable member-ordering rule #144

Fryuni opened this issue Apr 4, 2022 · 0 comments
Labels
feature New feature

Comments

@Fryuni
Copy link
Member

Fryuni commented Apr 4, 2022

✨ Feature request

Enable the member-ordering rule from typescript-eslint

Motivation

We should keep the order of the members consistent between our declarations and between our languages.

Alternatives

TSLint rule

Additional context

For PHP and Java we have:

  • Static fields
  • Instance fields
  • Constructor(s)
  • Static public methods
  • Instance methods
  • Static private methods

We should define the order for public, protected and private between the fields and instance methods

@Fryuni Fryuni added the feature New feature label Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant