From 9e8a7c682bb0ee4128acbc166047447889042827 Mon Sep 17 00:00:00 2001 From: Alexander Midteide Date: Thu, 7 Nov 2024 12:56:49 +0100 Subject: [PATCH] chore: Only tracking pre-commit hooks in git, allowing for personal setup --- .gitignore | 5 +++++ .hooks/pre-commit | 1 + 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index c1e0be8f..f0f3a98f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,11 @@ pg* *vscode .turbo/ vite.config.ts.timestamp* + +.hooks/* +!.hooks/pre-commit + + # Created by https://www.toptal.com/developers/gitignore/api/macos,windows,linux,visualstudiocode,vim,webstorm+all,node,yarn # Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,linux,visualstudiocode,vim,webstorm+all,node,yarn diff --git a/.hooks/pre-commit b/.hooks/pre-commit index 7ff5b753..83795817 100755 --- a/.hooks/pre-commit +++ b/.hooks/pre-commit @@ -1,2 +1,3 @@ #!/usr/bin/env bash pnpm lint-staged -- --color +#Test