Skip to content
This repository was archived by the owner on Nov 15, 2019. It is now read-only.
This repository was archived by the owner on Nov 15, 2019. It is now read-only.

Adopt Prettier #63

@jasonLaster

Description

@jasonLaster

It would be nice to adopt prettier across devtools and perhaps m-c globally.

Benefits

  • it will provide a consistent set of styles for the project that can be overridden can via eslint
  • it will simplify our eslint config
  • it will be like James 🤗never left
  • it helps contributors and code reviews
  • the debugger has been using it for the past two years and it is great
  • it has good editor / vcs integrations
  • When we discussed this in the tuesday node meeting, Dan Mosedale mentioned that he and Mark Banner discussed adding prettier globally to be consistent with C++ clang. Adding prettier for devtools would be a good test case for what prettier across MC would look like.

Process changes

  • We would run prettier once to update the devtools files
  • We would update the devtools eslint config to include the eslint-prettier plugin.
  • At that point, ./mach lint will begin picking up the regressions and reporting them on try as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions