Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Use revive instead of golint
Browse files Browse the repository at this point in the history
  • Loading branch information
myoung34 committed Aug 25, 2022
1 parent 8d59ce8 commit c2c10ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
linters:
enable:
- golint
- revive
issues:
exclude:
- "Error return value of .* is not checked"
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func callEmitter(funcName string, payload tilt.Payload, emitterConfig interface{
in := make([]reflect.Value, 2)
in[0] = reflect.ValueOf(payload)
in[1] = reflect.ValueOf(emitterConfig)
var res []reflect.Value = f.Call(in)
var res = f.Call(in)
result = res[0].Interface()
return
}
2 changes: 1 addition & 1 deletion sider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ linter:
target: ./...
config: .golangci.yml
enable:
- golint
- revive
- gosec
fast: true
no-config: false
Expand Down

0 comments on commit c2c10ff

Please sign in to comment.