diff --git a/cspell.config.json b/cspell.config.json index a246399..3581145 100644 --- a/cspell.config.json +++ b/cspell.config.json @@ -8,6 +8,7 @@ "src/dashboards/**", "src/utils/transform.test.ts", "yarn.lock", + "go.mod", "go.sum", "mage_output_file.go" ], diff --git a/lefthook.yml b/lefthook.yml index b320ea2..ce87bc2 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -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}