chore: add lint-staged, husky and prettier

This commit is contained in:
Arvid Norlin
2024-02-19 16:17:06 +01:00
parent 62582cbde0
commit 43b9c9d3b5
4 changed files with 658 additions and 1 deletions

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

3
.husky/pre-commit Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged