Enable simplifycompositelit check in CI
This will fail the build when there are redundant types in composite struct literals.
This commit is contained in:
parent
7aa1caf4ed
commit
ba9370ab1f
1 changed files with 3 additions and 0 deletions
3
.golangci.yml
Normal file
3
.golangci.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
linters:
|
||||
enable:
|
||||
gofmt
|
||||
Loading…
Add table
Add a link
Reference in a new issue