mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-08 15:04:19 +01:00
Merge branch 'lint-staged' into 'main'
Add lint-staged See merge request soapbox-pub/ditto!229
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