File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -112,16 +112,6 @@ npx husky add .husky/commit-msg "npx --no-install commitlint --edit $1"
112
112
yarn husky add .husky/commit-msg " yarn commitlint --edit $1 "
113
113
```
114
114
115
- If the file ` .husky/commit-msg ` already exists, you can edit the file and put this:
116
-
117
- ``` sh
118
- # .husky/commit-msg
119
- # ...
120
- npx --no-install commitlint --edit $1
121
- # or
122
- yarn commitlint --edit $1
123
- ```
124
-
125
115
** Detailed Setup instructions**
126
116
127
117
- [ Local setup] ( https://conventional-changelog.github.io/commitlint/#/guides-local-setup ) - Lint messages on commit with husky
Original file line number Diff line number Diff line change @@ -38,16 +38,6 @@ npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1'
38
38
yarn husky add .husky/commit-msg ' yarn commitlint --edit $1'
39
39
```
40
40
41
- If the file ` .husky/commit-msg ` already exists, you can edit the file and put this:
42
-
43
- ``` sh
44
- # .husky/commit-msg
45
- # ...
46
- npx --no-install commitlint --edit $1
47
- # or
48
- yarn commitlint --edit $1
49
- ```
50
-
51
41
## Test
52
42
53
43
### Test simple usage
You can’t perform that action at this time.
0 commit comments