Skip to content

Commit

Permalink
fix: clean up golangci lint configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored May 28, 2024
1 parent 5ccfd17 commit 5b4d514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ linters-settings:
ignore-words:
- licence
- optimise
- simmilar
gosec:
excludes:
- G101
Expand Down Expand Up @@ -111,7 +112,6 @@ issues:
linters:
- goconst
- gosec
- misspell
- unused
- path: ".*_test.go$"
linters:
Expand All @@ -135,9 +135,6 @@ issues:
- linters:
- errcheck
text: "os.*` is not checked"
- linters:
- golint
text: "a blank import should be only in a main or test package"
exclude:
- "should have a package comment, unless it's in another file for this package"
exclude-use-default: false
Expand Down
2 changes: 1 addition & 1 deletion pkg/fanal/artifact/local/fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ __rego_metadata__ := {
"url": "https://trivy.dev/",
}
# taken from defsec rego lib to mimic behaviour
# taken from defsec rego lib to mimic behavior
result(msg, cause) = result {
metadata := object.get(cause, "__defsec_metadata", cause)
result := {
Expand Down

0 comments on commit 5b4d514

Please sign in to comment.