Skip to content

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

@alexcui03

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions