Skip to content

Commit

Permalink
Added info about skipped static check configs
Browse files Browse the repository at this point in the history
Signed-off-by: paragchak-sumo <p.chakraborty.ctr@sumologic.com>
  • Loading branch information
paragchak-sumo committed Mar 7, 2025
1 parent b1f88ef commit 5847f40
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions staticcheck.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,18 @@ checks = [
# https://staticcheck.io/docs/checks#ST1023
"-ST1023",

"-SA1029",
"-SA1006",
"-S1009"
# Disable SA1029
# Inappropriate key in call to context.WithValue
# https://staticcheck.io/docs/checks#SA1029
"-SA1029",

# Disable SA1006
# Printf with dynamic first argument and no further arguments
# https://staticcheck.io/docs/checks#SA1006
"-SA1006",

# Disable S1009
# Omit redundant nil check on slices, maps, and channels
# https://staticcheck.io/docs/checks#S1009
"-S1009"
]

0 comments on commit 5847f40

Please sign in to comment.