Skip to content

Commit 6d9dbc0

Browse files
authored
Use golangci-lint for codespell (#535)
* Remove Python codespell check. * Enable misspell golanci-lint linter. Signed-off-by: SuperQ <[email protected]>
1 parent 1d6add5 commit 6d9dbc0

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

.circleci/config.yml

-10
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ jobs:
3535
steps:
3636
- run: make test
3737

38-
codespell:
39-
docker:
40-
- image: circleci/python
41-
42-
steps:
43-
- checkout
44-
- run: sudo pip install codespell
45-
- run: codespell --skip=".git,./vendor,ttar,fixtures.ttar,./fixtures,go.mod,go.sum" -I scripts/codespell_ignore.txt
46-
4738
workflows:
4839
version: 2
4940
procfs:
@@ -66,4 +57,3 @@ workflows:
6657
go_version:
6758
- "1.19"
6859
- "1.20"
69-
- codespell

.golangci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
linters:
33
enable:
44
- godot
5+
- misspell
56
- revive
67

78
linter-settings:
@@ -10,3 +11,5 @@ linter-settings:
1011
exclude:
1112
# Ignore "See: URL"
1213
- 'See:'
14+
misspell:
15+
locale: US

scripts/codespell_ignore.txt

-11
This file was deleted.

0 commit comments

Comments
 (0)