Skip to content

Enforce linting rules on commits with Husky or Github actions #21

@Paul-Hebert

Description

@Paul-Hebert

The project has linting, but it would be nice to enforce this when users try to commit or push.

@calebeby recommended using a Github action over Husky:

Husky bugs me because it really slows down when I want to commit. On decathlon when we were using husky it often took 8-10 seconds to run the checks when I was trying to commit. We switched to GitHub Actions. Then the checks can run concurrently with PR review, and they enforce that everything works even with the latest dependencies. Also it is nice to be able to commit WIP work even if linting is failing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions