X Tutup
Skip to content

Commit ba9370a

Browse files
committed
Enable simplifycompositelit check in CI
This will fail the build when there are redundant types in composite struct literals.
1 parent 7aa1caf commit ba9370a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
linters:
2+
enable:
3+
gofmt

0 commit comments

Comments
 (0)
X Tutup