Skip to content

Commit

Permalink
Use yarn instead of cspell for precommit hook (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
idastambuk authored Aug 14, 2024
1 parent 0c27238 commit 52858e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"src/dashboards/**",
"src/utils/transform.test.ts",
"yarn.lock",
"go.mod",
"go.sum",
"mage_output_file.go"
],
Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ pre-commit:
run: gofmt -w -s {staged_files}
stage_fixed: true
spellcheck:
run: yarn cspell -c cspell.config.json \"**/*.{ts,tsx,js,go,md,mdx,yml,yaml,json,scss,css}\" {staged_files}
run: yarn spellcheck {staged_files}

0 comments on commit 52858e6

Please sign in to comment.