mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 10:24:02 +00:00
chore: add lefthook for pre-commit checks
This commit is contained in:
11
lefthook.yml
Normal file
11
lefthook.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
# lefthook.yml
|
||||
|
||||
pre-commit:
|
||||
parallel: true
|
||||
commands:
|
||||
format:
|
||||
glob: '*.{ts,tsx,js,jsx,json,md}'
|
||||
run: bun run format:check
|
||||
lint:
|
||||
glob: '*.{ts,tsx,js,jsx}'
|
||||
run: bun run lint
|
||||
Reference in New Issue
Block a user