File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
. " $( dirname " $0 " ) /_/husky.sh"
3
3
4
- npx --no -- commitlint -x $( npm root -g ) /@commitlint/config-conventional -- edit
4
+ npx --no -- commitlint -- edit ${1}
Original file line number Diff line number Diff line change 24
24
"@babel/core" : " ^7.23.7" ,
25
25
"@babel/plugin-proposal-class-properties" : " ^7.18.6" ,
26
26
"@babel/preset-env" : " ^7.23.7" ,
27
+ "@commitlint/cli" : " ^18.4.4" ,
28
+ "@commitlint/config-conventional" : " ^18.4.4" ,
27
29
"@rollup/plugin-babel" : " ^6.0.4" ,
28
30
"@rollup/plugin-terser" : " ^0.4.4" ,
31
+ "husky" : " ^8.0.3" ,
29
32
"rimraf" : " ^5.0.5" ,
30
33
"rollup" : " ^4.9.2" ,
31
34
"rollup-plugin-license" : " ^3.2.0" ,
41
44
" not dead"
42
45
],
43
46
"commitlint" : {
47
+ "extends" : [
48
+ " @commitlint/config-conventional"
49
+ ],
44
50
"rules" : {
45
51
"body-max-line-length" : [
46
52
0 ,
You can’t perform that action at this time.
0 commit comments