Skip to content

Commit b3e7f2b

Browse files
committed
Remove explicit misspell
This is included in golangci-lint so we're just duplicating work here
1 parent 93926dc commit b3e7f2b

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ install: build ## Install built provider into the local terraform cache
246246

247247
.PHONY: tools
248248
tools: $(GOBIN) tools-golangci-lint ## Install useful tools for linting, docs generation and development
249-
@ cd tools && go install github.com/client9/misspell/cmd/misspell
250249
@ cd tools && go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
251250
@ cd tools && go install github.com/goreleaser/goreleaser/v2
252251
@ cd tools && go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen
@@ -256,20 +255,13 @@ tools: $(GOBIN) tools-golangci-lint ## Install useful tools for linting, docs ge
256255
tools-golangci-lint: ## Download golangci-lint locally if necessary.
257256
@[[ -f $(GOBIN)/golangci-lint ]] || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v2.2.1
258257

259-
260-
.PHONY: misspell
261-
misspell:
262-
@ $(GOBIN)/misspell -error -source go ./internal/
263-
@ $(GOBIN)/misspell -error -source text ./templates/
264-
265-
266258
.PHONY: golangci-lint
267259
golangci-lint:
268260
@ $(GOBIN)/golangci-lint run --max-same-issues=0 $(GOLANGCIFLAGS) ./internal/...
269261

270262

271263
.PHONY: lint
272-
lint: setup misspell golangci-lint check-fmt check-docs ## Run lints to check the spelling and common go patterns
264+
lint: setup golangci-lint check-fmt check-docs ## Run lints to check the spelling and common go patterns
273265

274266
.PHONY: fmt
275267
fmt: ## Format code

tools/go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.24.0
55
toolchain go1.24.4
66

77
require (
8-
github.com/client9/misspell v0.3.4
98
github.com/goreleaser/goreleaser/v2 v2.10.2
109
github.com/hashicorp/terraform-plugin-docs v0.21.0
1110
github.com/oapi-codegen/oapi-codegen/v2 v2.4.1

tools/go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb2
269269
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
270270
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
271271
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
272-
github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=
273272
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
274273
github.com/cloudflare/circl v1.6.0 h1:cr5JKic4HI+LkINy2lg3W2jF8sHCVTBncJr5gIIq7qk=
275274
github.com/cloudflare/circl v1.6.0/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=

tools/tools.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package tools
55

66
import (
7-
_ "github.com/client9/misspell/cmd/misspell"
87
_ "github.com/goreleaser/goreleaser/v2"
98
_ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs"
109
_ "github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen"

0 commit comments

Comments
 (0)