diff options
| author | Max Resnick <max@ofmax.li> | 2025-05-24 23:30:58 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-05-24 23:30:58 -0700 |
| commit | d72fcd195666c08d42ae6e2af9359817c4b00f77 (patch) | |
| tree | 5cf724db60cd8a27ab08ca89417f0b4b8268d465 /.golangci.yaml | |
| parent | deb7852082a23683e023da940297077047780a41 (diff) | |
| download | go-bumpver-d72fcd195666c08d42ae6e2af9359817c4b00f77.tar.gz | |
chore: upgrade golangci lint
Diffstat (limited to '')
| -rw-r--r-- | .golangci.yaml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/.golangci.yaml b/.golangci.yaml index 4655178..6065695 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,7 +1,27 @@ +version: "2" linters: enable: - - bodyclose - asciicheck + - bodyclose + - goconst - gosec + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: + enable: - gci - - goconst + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ |