mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 05:24:22 +01:00
Add lint-staged
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/hook.sh"
|
||||
|
||||
deno fmt --check
|
||||
deno run -A npm:lint-staged
|
||||
|
||||
3
.lintstagedrc
Normal file
3
.lintstagedrc
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"*.{ts,tsx,md}": "deno fmt"
|
||||
}
|
||||
Reference in New Issue
Block a user