diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-02 19:27:53 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-03 08:05:11 +0100 |
| commit | c20a25bb6886bbf0839408454b2541462f621631 (patch) | |
| tree | 54389e68e2a3acb24ea2855e8ddba3cd45178877 /.husky | |
| parent | d7009367147fb8b841b9717c5807d04240292cdd (diff) | |
Runs lint-staged on pre-commit husky hook
Diffstat (limited to '.husky')
| -rw-r--r-- | .husky/pre-commit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..36af219 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npx lint-staged |
