lint: enable some more linters
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
linters:
|
||||
enable-all: false
|
||||
enable:
|
||||
- gosimple
|
||||
- misspell
|
||||
- gocyclo
|
||||
- gofmt
|
||||
- structcheck
|
||||
- varcheck
|
||||
- ineffassign
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
|
||||
func TestLabelTarget(t *testing.T) {
|
||||
expect := map[avo.Label]*avo.Instruction{
|
||||
"lblA": &avo.Instruction{Opcode: "A"},
|
||||
"lblB": &avo.Instruction{Opcode: "B"},
|
||||
"lblA": {Opcode: "A"},
|
||||
"lblB": {Opcode: "B"},
|
||||
}
|
||||
|
||||
f := avo.NewFunction("happypath")
|
||||
|
||||
Reference in New Issue
Block a user