mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
59752fb36d
* enable revive linter * enable gochecknoinits linter * enable unconvert linter * enable unparam linter * enable asciicheck linter * enable depguard linter * enable nakedret linter * enable megacheck linter * enable nolintlint linter * enable predeclared linter * Update go.yml * Update go.yml
33 lines
507 B
YAML
33 lines
507 B
YAML
run:
|
|
timeout: 5m
|
|
linters:
|
|
enable:
|
|
- asciicheck
|
|
- depguard
|
|
- errorlint
|
|
- gci
|
|
- gochecknoinits
|
|
- gofmt
|
|
- goimports
|
|
- gosec
|
|
- megacheck
|
|
- misspell
|
|
- nakedret
|
|
- nolintlint
|
|
- predeclared
|
|
- revive
|
|
- unconvert
|
|
- unparam
|
|
issues:
|
|
exclude-rules:
|
|
- linters:
|
|
- gosec
|
|
text: "Implicit memory aliasing in for loop."
|
|
path: _test\.go
|
|
- linters:
|
|
- revive
|
|
text: "unexported-return"
|
|
- linters:
|
|
- revive
|
|
text: "var-naming"
|