File tree 6 files changed +6641
-6178
lines changed
6 files changed +6641
-6178
lines changed Original file line number Diff line number Diff line change 6
6
},
7
7
"ignorePatterns" : [" **/*.ts" ],
8
8
"plugins" : [" @typescript-eslint" ],
9
- "extends" : [],
10
- "rules" : {
11
- "@typescript-eslint/explicit-module-boundary-types" : " off"
12
- },
9
+ "extends" : [" prettier" ],
10
+ "rules" : {},
13
11
"overrides" : []
14
12
}
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
. " $( dirname " $0 " ) /_/husky.sh"
3
3
4
- npm test
4
+ # pnpm run test
5
+ # pnpx lint-staged
Original file line number Diff line number Diff line change 1
1
# node-lib-starter
2
2
3
- Start NodeJS + TypeScript library developing with ease, have fun!
3
+ Start NodeJS + TypeScript + Pnpm library developing with ease, have fun!
4
4
5
5
## Include
6
6
Original file line number Diff line number Diff line change 27
27
},
28
28
"repository" : {
29
29
"type" : " git" ,
30
- "url" : " git+https://github.com/linbudu599 /node-lib-starter.git"
30
+ "url" : " git+https://github.com/LinbuduLab /node-lib-starter.git"
31
31
},
32
32
"keywords" : [],
33
33
"author" : " linbudu" ,
34
34
"license" : " MIT" ,
35
35
"bugs" : {
36
- "url" : " https://github.com/linbudu599 /node-lib-starter/issues"
36
+ "url" : " https://github.com/LinbuduLab /node-lib-starter/issues"
37
37
},
38
- "homepage" : " https://github.com/linbudu599 /node-lib-starter#readme" ,
38
+ "homepage" : " https://github.com/LinbuduLab /node-lib-starter#readme" ,
39
39
"devDependencies" : {
40
40
"@commitlint/cli" : " ^15.0.0" ,
41
41
"@commitlint/config-conventional" : " ^15.0.0" ,
59
59
"husky" : " ^7.0.4" ,
60
60
"is-ci" : " ^3.0.1" ,
61
61
"jest" : " ^27.3.1" ,
62
+ "lint-staged" : " ^12.1.5" ,
62
63
"pinst" : " ^2.1.6" ,
63
64
"prettier" : " ^2.4.1" ,
64
65
"release-it" : " ^14.11.7" ,
74
75
"commitizen" : {
75
76
"path" : " node_modules/cz-customizable"
76
77
}
78
+ },
79
+ "lint-staged" : {
80
+ "*.js" : " eslint --cache --fix" ,
81
+ "*.{js,css,md}" : " prettier --write"
77
82
}
78
83
}
You can’t perform that action at this time.
0 commit comments