Skip to content

Commit ed179f5

Browse files
🔧 config(hooks): Explicit config path in commit-msg.
This is to workaround conventional-changelog/commitlint#2742.
1 parent 35c0268 commit ed179f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"build-gh-pages": "npm run build-docs",
4949
"ci:build": "npm run build",
5050
"ci:test": "npm run lint-config && npm run lint && npm run cover",
51-
"commit-msg": "commitlint --edit",
51+
"commit-msg": "commitlint -g .commitlintrc.cjs --edit",
5252
"cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test",
5353
"debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
5454
"dev": "npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast",

0 commit comments

Comments
 (0)