Skip to content

Commit 452bcf0

Browse files
committed
fix: remove goimports from linters.enable (it's a formatter in v2)
- Remove goimports from linters.enable as it's now a formatter in golangci-lint v2 - Formatters are automatically used in v2, no need to explicitly enable them - This resolves the 'goimports is a formatter' error
1 parent f05d373 commit 452bcf0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ linters:
99
- bodyclose
1010
- forcetypeassert
1111
- gocritic
12-
- goimports
1312
- gosimple
1413
- govet
1514
- makezero

0 commit comments

Comments
 (0)