Skip to content

Add husky to execute prettiere / eslint on commit / push #17

Description

@dawehner

It would be nice as a contributor to not have to remember executing eslint/prettier locally or wait for the tests to pass on github.

Idea

  1. Run prettier on commit
  2. Run eslint and tests (unit tests) on push

This way you can not create a PR, unless you fix those problems.
You can always bypass this using --no-verify on commits and PRs

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions