Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lrstanley/vault-unseal
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstanley committed Sep 11, 2023
2 parents d794c35 + ed2a40a commit 2cf2daf
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ linters:
- godot # checks if comments end in a period
- godox # detects FIXME, TODO and other comment keywords
- goimports # in addition to fixing imports, goimports also formats your code in the same style as gofmt
- gomnd # detects magic numbers
- gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
- gomodguard # allow and block lists linter for direct Go module dependencies. This is different from depguard where there are different block types for example version constraints and module recommendations
- goprintffuncname # checks that printf-like functions are named with f at the end
Expand Down Expand Up @@ -99,6 +98,7 @@ linters:
- whitespace # detects leading and trailing whitespace

# disabled for now:
# - gomnd # detects magic numbers
# - errname # checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error
# - gochecknoglobals # checks that no global variables exist
# - gocognit # computes and checks the cognitive complexity of functions
Expand Down Expand Up @@ -150,19 +150,19 @@ linters-settings:
# Whether to skip (*x).method() calls where x is a pointer receiver.
skipRecvDeref: false

gomnd:
# Values always ignored: `time.Date`,
# `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`,
# `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`.
ignored-functions:
- os.Chmod
- os.Mkdir
- os.MkdirAll
- os.OpenFile
- os.WriteFile
- prometheus.ExponentialBuckets
- prometheus.ExponentialBucketsRange
- prometheus.LinearBuckets
# gomnd:
# # Values always ignored: `time.Date`,
# # `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`,
# # `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`.
# ignored-functions:
# - os.Chmod
# - os.Mkdir
# - os.MkdirAll
# - os.OpenFile
# - os.WriteFile
# - prometheus.ExponentialBuckets
# - prometheus.ExponentialBucketsRange
# - prometheus.LinearBuckets

gomodguard:
blocked:
Expand Down

0 comments on commit 2cf2daf

Please sign in to comment.