diff --git a/lefthook.yml b/lefthook.yml index 1cd0432..b44eba7 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -1,4 +1,8 @@ assert_lefthook_installed: true +commit-msg: + commands: + "lint commit message": + run: commitlint --edit "$1" pre-commit: parallel: true commands: @@ -19,7 +23,5 @@ pre-commit: run: remark --ignore-path .gitignore --quiet --frail --no-stdout . test-docs: run: cargo test --doc - lint-commit: - run: commitlint --last lint-deps: run: cargo machete --with-metadata