Commit 955cd7c
committed
Install and configure
Installed Husky (1), the tool that make Git hooks easy and can prevent
bad Git commits, pushes and more!
The `.huskyrc.js` configuration file is placed in the project root and
includes the commands to run for any supported Git hook (1). This
commit initially adds configs for the following hook(s):
- `pre-commit` - Run lint-staged (GH-44) before each commit (via
`lint-staged` command) to ensure all staged files are compliant to
all style guides.
References:
(1) https://github.com/typicode/husky
(2) https://github.com/typicode/husky/blob/master/DOCS.md#supported-hooks
Epic: GH-33
Depends on GH-4 GH-47 GH-49
Resolves GH-45husky
1 parent 2696968 commit 955cd7c
3 files changed
+193
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
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 | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments