Skip to content

Commit d3f87ad

Browse files
committed
Move gofmt from linters to formatters in config
The gofmt tool was removed from the linters section and added to the formatters section in .golangci.yml to properly configure its usage.
1 parent d04c6ff commit d3f87ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.golangci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ linters:
77
enable:
88
- unconvert
99
- goconst
10-
- gofmt
1110
- misspell
1211
- unparam
1312
- nakedret
@@ -19,3 +18,7 @@ linters:
1918
revive:
2019
rules:
2120
- name: redundant-build-tag
21+
22+
formatters:
23+
enable:
24+
- gofmt

0 commit comments

Comments
 (0)