Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Aug 26, 2024
1 parent 8a00f52 commit f4f8c70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .golangci.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[linters]
enable = [
"copyloopvar",
"dogsled",
"exportloopref",
"forcetypeassert",
"goconst",
"gocritic",
"gocyclo",
"goimports",
"goprintffuncname",
"gosec",
"gosimple",
"govet",
"ineffassign",
Expand Down
1 change: 0 additions & 1 deletion pkg/ast/processing/find_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ func findObjectFieldsInObject(objectNode *ast.DesugaredObject, index string, par

var matchingFields []*ast.DesugaredObjectField
for _, field := range objectNode.Fields {
field := field
literalString, isString := field.Name.(*ast.LiteralString)
if !isString {
continue
Expand Down

0 comments on commit f4f8c70

Please sign in to comment.