From 5700f6cf6267ca59f45a4e73703eb053351554ca Mon Sep 17 00:00:00 2001 From: Alan North Date: Sat, 8 Jul 2023 22:48:58 -0300 Subject: [PATCH] v0fix: fixed commitlint script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c85acad..7733ebc 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build:types:fix": "tsc-alias -p tsconfig.types.json --debug", "lint:eslint": "eslint \"{src,tests,bin}/**/*.{cjs,js,ts}\" \"*.{cjs,js,ts}\" --max-warnings=0 --report-unused-disable-directives", "lint:types": "tsc --noEmit --pretty", - "lint:commits": "commitlint --from $(git rev-list HEAD --not --remotes | tail -1)^ --to HEAD --verbose", + "lint:commits": "commitlint --from $(git rev-list --max-parents=0 HEAD) --to HEAD --verbose", "lint:imports": "madge --circular --extensions ts ./src", "lint": "npm run lint:types && npm run lint:eslint && npm run lint:imports", "coverage": "vitest --coverage",