fix(setup): Fix pre-push lint and format from all files to push_files
This commit is contained in:
@@ -20,7 +20,9 @@ pre-push:
|
|||||||
run: yarn svelte-check --threshold warning
|
run: yarn svelte-check --threshold warning
|
||||||
|
|
||||||
format-check:
|
format-check:
|
||||||
run: yarn dprint check
|
glob: "*.{ts,js,svelte,json,md}"
|
||||||
|
run: yarn dprint check {push_files}
|
||||||
|
|
||||||
lint-full:
|
lint-full:
|
||||||
run: yarn oxlint .
|
glob: "*.{ts,js,svelte}"
|
||||||
|
run: yarn oxlint {push_files}
|
||||||
|
|||||||
Reference in New Issue
Block a user