Skip to content

Commit 814060e

Browse files
committed
ci: upgrade commitlint packages
1 parent 64765f2 commit 814060e

File tree

5 files changed

+243
-1025
lines changed

5 files changed

+243
-1025
lines changed

.husky/commit-msg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
32

43
npx --no -- commitlint --edit "$1"

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
#!/usr/bin/env sh
2+
13
./mvnw sortpom:sort spotless:apply -f .teamcity
24
./mvnw sortpom:sort spotless:apply

dangerfile.js renamed to dangerfile.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
const {markdown, danger, fail, warn, schedule} = require('danger');
2-
const load = require('@commitlint/load').default;
3-
const lint = require('@commitlint/lint').default;
1+
import load from '@commitlint/load';
2+
import lint from '@commitlint/lint';
43

54
const minPRDescriptionLength = 10;
65

0 commit comments

Comments
 (0)