We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 428eff5 + 698b9d6 commit 73e0341Copy full SHA for 73e0341
lefthook.yml
@@ -16,9 +16,18 @@ pre-commit:
16
lint:
17
glob: '*.ts'
18
run: yarn lint "{staged_files}" && git add "{staged_files}"
19
+ lint-svelte:
20
+ glob: '*.svelte'
21
+ run: yarn lint && git add "{staged_files}"
22
lint-markdown:
23
glob: '*.md'
24
run: yarn lint:markdown && git add "{staged_files}"
25
test:
26
27
run: yarn test "{staged_files}" --findRelatedTests --passWithNoTests
28
+ test-json:
29
+ glob: 'tests/Obsidian/__test_data__/*.json'
30
+ run: yarn test
31
+ test-svelte:
32
33
0 commit comments