Skip to content

chore: Turn on formatting #310

@pimotte

Description

@pimotte

Both @GitLuckier and @Tammo0987 have suggested that it would be a good idea to have a formatter, and I agree.

I thought eslint could be used for formatting as well, and it used to do so, but apparently no longer.

My proposal is:

  • Setting up prettier as a formatter, sticking to defaults as much as possible
  • Formatting the code according to this (put this in a separate commit)
  • Setting up a pre-commit hook to format the code
  • Extending the lint CI to also check that the formatting is okay.
  • Do this for both waterproof-vscode and waterproof-editor

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