aboutsummaryrefslogtreecommitdiffstats
path: root/.simple-git-hooks.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-10 01:43:23 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-10 11:09:08 +0100
commit526dc3ee63d308aef1ba2c75cd7a9cc4c9577a73 (patch)
treebb0f3c7365b90b007e48b9b9f209aec08138ada5 /.simple-git-hooks.json
parentbuild: Add eslint-plugin-security (diff)
downloadsophie-526dc3ee63d308aef1ba2c75cd7a9cc4c9577a73.tar.gz
sophie-526dc3ee63d308aef1ba2c75cd7a9cc4c9577a73.tar.zst
sophie-526dc3ee63d308aef1ba2c75cd7a9cc4c9577a73.zip
build: Add pre-commit hook
Run lint and tests on source files changes. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to '.simple-git-hooks.json')
-rw-r--r--.simple-git-hooks.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/.simple-git-hooks.json b/.simple-git-hooks.json
new file mode 100644
index 0000000..5f3b598
--- /dev/null
+++ b/.simple-git-hooks.json
@@ -0,0 +1,3 @@
1{
2 "pre-commit": "yarn nano-staged"
3}