Skip to content

Commit

Permalink
Switch spell check to golangci-lint
Browse files Browse the repository at this point in the history
Switch from using codespell to misspell.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Dec 11, 2023
1 parent c8b9064 commit ddec7ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
11 changes: 0 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ jobs:
- run: docker-compose --version
- run: make build
- run: make test
codespell:
docker:
- image: cimg/python:3.11
steps:
- checkout
- run: pip install codespell
- run: codespell --skip=".git,./vendor,ttar,Makefile.common" -L uint,ist,keypair
mixin:
executor: golang
steps:
Expand Down Expand Up @@ -84,10 +77,6 @@ workflows:
only: /^(main|release-.*|.*build-all.*)$/
tags:
only: /^v.*/
- codespell:
filters:
tags:
only: /.*/
- mixin:
filters:
tags:
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# Run only staticcheck for now. Additional linters will be enabled one-by-one.
linters:
enable:
- misspell
- staticcheck
disable-all: true
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type MySqlConfig struct {
SslCa string `ini:"ssl-ca"`
SslCert string `ini:"ssl-cert"`
SslKey string `ini:"ssl-key"`
TlsInsecureSkipVerify bool `ini:"ssl-skip-verfication"`
TlsInsecureSkipVerify bool `ini:"ssl-skip-verfication"` //nolint:misspell
Tls string `ini:"tls"`
}

Expand Down

0 comments on commit ddec7ef

Please sign in to comment.