File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22. " $( dirname -- " $0 " ) /_/husky.sh"
33
4- npx @commitlint/cli --extends @commitlint/config-conventional --edit " $1 "
4+ npx @commitlint/cli --config .github/.husky/commitlint.json --edit " $1 "
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : [" @commitlint/config-conventional" ],
3+ "rules" : {
4+ "body-max-length" : [0 , " always" ],
5+ "body-max-line-length" : [0 , " always" ],
6+ "footer-max-length" : [0 , " always" ],
7+ "footer-max-line-length" : [0 , " always" ],
8+ "header-max-length" : [0 , " always" ],
9+ "scope-max-length" : [0 , " always" ],
10+ "subject-max-length" : [0 , " always" ],
11+ "type-max-length" : [0 , " always" ]
12+ }
13+ }
Original file line number Diff line number Diff line change 1919 with :
2020 fetch-depth : 0
2121 - uses : wagoid/commitlint-github-action@v5
22+ with :
23+ configFile : .github/.husky/commitlint.json
2224
2325 tests :
2426 needs : pre-run
You can’t perform that action at this time.
0 commit comments