Add Git Hooks

This commit is contained in:
2023-06-25 10:03:05 +08:00
parent 6e52248aa0
commit edca5f2b9f
2 changed files with 3 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
hooks/* eol=lf

2
hooks/pre-commit Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
deno fmt