File tree 4 files changed +4
-3
lines changed
4 files changed +4
-3
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 lint- staged
4
+ npm run staged
Original file line number Diff line number Diff line change 1
- module . exports = {
1
+ export default {
2
2
'*.js' : [ 'standard --fix' ]
3
3
}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ function lib ({
69
69
process . chdir ( path )
70
70
// We've already cd'd into the directory, so just use . (cur directory)
71
71
// This is ultimately passed to `git log` which runs in cwd
72
- commitsOnPath = bumpTo ? undefined : '.'
72
+ commitsOnPath = '.'
73
73
}
74
74
75
75
const tagPrefix = getPrefix ( prefix )
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"format" : " standard --fix ." ,
9
9
"prepare" : " husky install" ,
10
+ "staged" : " lint-staged -c ./lint-staged.config.js" ,
10
11
"test" : " vitest"
11
12
},
12
13
"dependencies" : {
You can’t perform that action at this time.
0 commit comments