diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 083c2e1..f27d78a 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -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" @@ -103,6 +103,7 @@ entry: cspell-cli language: node types: [text] + additional_dependencies: ["@turo/cspell@^1"] args: - --no-must-find-files - --no-progress diff --git a/package.json b/package.json index 48ed189..dafd87b 100644 --- a/package.json +++ b/package.json @@ -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",