Skip to content

Check commit messages before committing #60

@jdbruijn

Description

@jdbruijn

Working on #59, I've noted that the commit messages are not validated locally during the commit. I had failing commit messages and only found out when the workflow ran on my PR. I think it'd be nice to have it run during the commit as well, with 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS', in husky hooks for example.

Would you accept PR for this?

One other idea is to run the tests as well before committing, for example using lint-staged. Would be happy to discuss that here and see your thoughts, and include it in a PR if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions