File tree Expand file tree Collapse file tree 4 files changed +825
-3
lines changed Expand file tree Collapse file tree 4 files changed +825
-3
lines changed Original file line number Diff line number Diff line change
1
+ pnpm githook:commitMessage ${1}
Original file line number Diff line number Diff line change
1
+ export default { extends : [ '@commitlint/config-conventional' ] } ;
Original file line number Diff line number Diff line change 4
4
"description" : " A Monorepo that shares linting configurations across DotMH projects" ,
5
5
"private" : true ,
6
6
"main" : " index.js" ,
7
+ "type" : " module" ,
7
8
"scripts" : {
8
9
"test" : " echo \" Error: no test specified\" && exit 1" ,
9
- "publish" : " npm publish -ws"
10
+ "publish" : " npm publish -ws" ,
11
+ "prepare" : " husky" ,
12
+ "lint:commit" : " commitlint --edit" ,
13
+ "githook:commitMessage" : " pnpm lint:commit"
10
14
},
11
15
"repository" : {
12
16
"type" : " git" ,
24
28
"bugs" : {
25
29
"url" : " https://github.com/dotmh/linting/issues"
26
30
},
27
- "homepage" : " https://github.com/dotmh/linting#readme"
31
+ "homepage" : " https://github.com/dotmh/linting#readme" ,
32
+ "devDependencies" : {
33
+ "@commitlint/cli" : " ^19.3.0" ,
34
+ "@commitlint/config-conventional" : " ^19.2.2" ,
35
+ "husky" : " ^9.0.11"
36
+ }
28
37
}
You can’t perform that action at this time.
0 commit comments