Skip to content

Commit d4e0f15

Browse files
committed
[chore]: enable gofumpt formatter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent 4cdbdf2 commit d4e0f15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.golangci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ linters:
3232
- hugeParam
3333
- importShadow
3434
- offBy1
35-
- paramTypeCombine
3635
- rangeValCopy
3736
- regexpMust
3837
- regexpSimplify
@@ -204,6 +203,7 @@ formatters:
204203
enable:
205204
- gci
206205
- gofmt
206+
- gofumpt
207207
settings:
208208
gci:
209209
sections:
@@ -212,5 +212,7 @@ formatters:
212212
- prefix(github.com/open-telemetry/opentelemetry-operator)
213213
gofmt:
214214
simplify: true
215+
gofumpt:
216+
extra-rules: true
215217
exclusions:
216218
generated: lax

0 commit comments

Comments
 (0)