mirror of https://github.com/mikefarah/yq.git
lint : define golangci configuration file
This put everything concerning golangci following [this](https://golangci-lint.run/usage/configuration/). This way, anyone running golangci with a command line or with it's favorite Ide will use the same configuration for the current project.
This commit is contained in:
parent
a17c97b515
commit
38855bf646
|
@ -0,0 +1,13 @@
|
|||
run:
|
||||
timeout: 5m
|
||||
linters:
|
||||
enable:
|
||||
- gofmt
|
||||
- goimports
|
||||
- gosec
|
||||
issues:
|
||||
exclude-rules:
|
||||
- linters:
|
||||
- gosec
|
||||
text: "Implicit memory aliasing in for loop."
|
||||
path: _test\.go
|
Loading…
Reference in New Issue