You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To lint commits before they are created you can use the 'commitmsg' hook as described [here](https://github.com/typicode/husky/blob/master/HOOKS.md#hooks)
45
+
46
+
```json
47
+
{
48
+
"scripts": {
49
+
"commitmsg": "commitlint -e $GIT_PARAMS"
50
+
}
51
+
}
52
+
```
53
+
54
+
55
+
**Detailed Setup instructions**
56
+
43
57
*[Local setup](http://marionebl.github.io/commitlint/#/guides-local-setup) - Lint messages on commit with husky
44
58
*[CI setup](http://marionebl.github.io/commitlint/#/guides-ci-setup) - Lint messages during CI builds
0 commit comments