From 85dee536ec05d7c415d5d005973af7c3bb025c29 Mon Sep 17 00:00:00 2001 From: make-github-pseudonymous-again <5165674+make-github-pseudonymous-again@users.noreply.github.com> Date: Thu, 14 Oct 2021 14:15:56 +0200 Subject: [PATCH] :wrench: config(hooks): Explicit config path in commit-msg. This is to workaround https://github.com/conventional-changelog/commitlint/issues/2742. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 12477f6e..f79be18d 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "build-gh-pages": "npm run build-docs", "ci:build": "npm run build", "ci:test": "npm run lint-config && npm run lint && npm run cover", - "commit-msg": "commitlint --edit", + "commit-msg": "commitlint -g .commitlintrc.cjs --edit", "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test", "debug": "NODE_ENV=debug npm run test -- -st --fail-fast", "dev": "npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast",