diff --git a/.circleci/config.yml b/.circleci/config.yml index 25a6795ed..d53e45521 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,15 +35,6 @@ jobs: steps: - run: make test - codespell: - docker: - - image: circleci/python - - steps: - - checkout - - run: sudo pip install codespell - - run: codespell --skip=".git,./vendor,ttar,fixtures.ttar,./fixtures,go.mod,go.sum" -I scripts/codespell_ignore.txt - workflows: version: 2 procfs: @@ -66,4 +57,3 @@ workflows: go_version: - "1.19" - "1.20" - - codespell diff --git a/.golangci.yml b/.golangci.yml index a197699a1..c24864a92 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,7 @@ linters: enable: - godot + - misspell - revive linter-settings: @@ -10,3 +11,5 @@ linter-settings: exclude: # Ignore "See: URL" - 'See:' + misspell: + locale: US diff --git a/scripts/codespell_ignore.txt b/scripts/codespell_ignore.txt deleted file mode 100644 index 4b41a2391..000000000 --- a/scripts/codespell_ignore.txt +++ /dev/null @@ -1,11 +0,0 @@ -alo -als -ded -hart -hda -inflight -packages\' -ro -sie -te -uint