Add lint-staged
This commit is contained in:
parent
6391d625c2
commit
7ecad73490
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/hook.sh"
|
||||
|
||||
deno fmt --check
|
||||
deno run -A npm:lint-staged
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"*.{ts,tsx,md}": "deno fmt"
|
||||
}
|
Loading…
Reference in New Issue