Commit d01e1cb
committed
chore(root): add commitlint as a husky commit-msg hook
Add a commit-msg husky hook that runs `yarn check-commits` to validate
commit messages locally. This ensures conventional commit format is
enforced before commits are pushed, for all developers regardless of
their shell setup.
Reverts the nix-specific pre-commit-hooks approach in favor of the
simpler husky-based hook which works universally after `yarn install`.
WAL-5651 parent bf7cd0e commit d01e1cb
3 files changed
Lines changed: 7 additions & 87 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 5 | | |
13 | 6 | | |
14 | 7 | | |
15 | 8 | | |
16 | 9 | | |
17 | 10 | | |
18 | | - | |
19 | 11 | | |
20 | 12 | | |
21 | 13 | | |
| |||
24 | 16 | | |
25 | 17 | | |
26 | 18 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 19 | | |
43 | 20 | | |
44 | | - | |
45 | 21 | | |
46 | 22 | | |
47 | 23 | | |
| |||
51 | 27 | | |
52 | 28 | | |
53 | 29 | | |
54 | | - | |
55 | | - | |
56 | 30 | | |
57 | 31 | | |
58 | 32 | | |
| |||
0 commit comments