Skip to content

Enable member-ordering rule #144

@Fryuni

Description

@Fryuni

✨ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions