Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
raulb committed May 22, 2024
1 parent d528a6d commit 4e43d5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ issues:
- errcheck
- forcetypeassert
- funlen
- err113
- goerr113
- dupl
- maintidx

Expand All @@ -59,11 +59,11 @@ linters:
- dupl
- dupword
- durationcheck
- err113
- errcheck
- errchkjson
- errname
- errorlint
- execinquery
- exhaustive
- exportloopref
# - forbidigo
Expand All @@ -77,6 +77,7 @@ linters:
- goconst
- gocritic
- godot
- goerr113
- gofmt
- gofumpt
- goheader
Expand Down
2 changes: 1 addition & 1 deletion paramgen/internal/paramgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ func (p *parameterParser) parseValidation(str string) (config.Validation, error)
}
// if required=false then do not add a validation
if !req {
return nil, nil
return nil, nil //nolint:nilnil // ignore this validation
}
return config.ValidationRequired{}, nil
case validationLT, validationLessThan:
Expand Down

0 comments on commit 4e43d5c

Please sign in to comment.