Skip to content

Commit

Permalink
chore: Enable G106, G108, G109, G111, G201, G203 rules for gosec (inf…
Browse files Browse the repository at this point in the history
…luxdata#12956)

Co-authored-by: Pawel Zak <Pawel Zak>
  • Loading branch information
zak-pawel authored Mar 28, 2023
1 parent 3415cc8 commit d14ea26
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ linters:
- exportloopref
- gocheckcompilerdirectives
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
Expand Down Expand Up @@ -75,6 +76,17 @@ linters-settings:
- "**/testutil/**"
- "**/tools/**"
- "**/*_test.go"
gosec:
# To select a subset of rules to run.
# Available rules: https://github.com/securego/gosec#available-rules
# Default: [] - means include all rules
includes:
- G106
- G108
- G109
- G111
- G201
- G203
lll:
# Max line length, lines longer will be reported.
# '\t' is counted as 1 character by default, and can be changed with the tab-width option.
Expand Down

0 comments on commit d14ea26

Please sign in to comment.