Skip to content

Commit

Permalink
build: add cspell dict
Browse files Browse the repository at this point in the history
  • Loading branch information
turo-mwong committed Nov 13, 2024
1 parent f740939 commit ee0dd74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,25 @@
name: "go-build: Check compilation"
description: "Runs `go build`, requires golang"
entry: hooks/golang/go-build.sh
language: 'script'
language: "script"
files: '\.go$'
- id: go-mod-tidy
name: "go-mod-tidy: Clean up go.mod and go.sum"
description: "Runs `go mod tidy -v`, requires golang"
entry: hooks/golang/go-mod-tidy.sh
language: 'script'
language: "script"
files: '\.go$'
- id: go-vet
name: "go-vet: Linting checks not caught by compiler"
description: "Runs `go vet`, requires golang"
entry: hooks/golang/go-vet.sh
language: 'script'
language: "script"
files: '\.go$'
- id: go-fmt
name: "go-fmt: Style formatting"
description: "Runs `go fmt`, requires golang"
entry: hooks/golang/go-fmt.sh
language: 'script'
language: "script"
files: '\.go$'
- id: golangci-lint
name: "golangci-lint: Lint all the things"
Expand Down Expand Up @@ -103,6 +103,7 @@
entry: cspell-cli
language: node
types: [text]
additional_dependencies: ["@turo/cspell@^1"]
args:
- --no-must-find-files
- --no-progress
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"cspell-cli": "./hooks/cspell/index.js"
},
"dependencies": {
"@turo/cspell": "1",
"cspell": "8.10.0"
},
"homepage": "https://github.com/turo/pre-commit-hooks#readme",
Expand Down

0 comments on commit ee0dd74

Please sign in to comment.