Skip to content

[Feature] Use Prettier for code-formating. #100

Description

@alexcui03

Description

User Prettier for code-formating.

The following code:

class CLASS_NAME extends SUPER_CLASS implements INTERFACE_1, INTERFACE_2 {
  // Class Definitions ...
}

should be formatted as following when the first line is too long:

class CLASS_NAME
  extends SUPER_CLASS
  implements INTERFACE_1, INTERFACE_2
{
  // Class Definitions ...
}

Currently, eslint cannot doing such brace rules, but Prettier can do it well.

Proposed Changes

Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions