Skip to content

Commit 29249ce

Browse files
committed
use presets instead
Signed-off-by: sivchari <[email protected]>
1 parent f3f8c9c commit 29249ce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.golangci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,13 @@ linters:
230230
- zz_generated.*\.go$
231231
- vendored_openapi\.go$
232232
- internal/apis/.*
233+
# We are disabling default golangci exclusions because we want to help reviewers to focus on reviewing the most relevant
234+
# changes in PRs and avoid nitpicking.
235+
presets:
236+
- comments
237+
- common-false-positives
238+
- legacy
239+
- std-error-handling
233240
rules:
234241
# Specific exclude rules for deprecated fields that are still part of the codebase. These
235242
# should be removed as the referenced deprecated item is removed from the project.
@@ -372,9 +379,6 @@ linters:
372379
issues:
373380
max-issues-per-linter: 0
374381
max-same-issues: 0
375-
# We are disabling default golangci exclusions because we want to help reviewers to focus on reviewing the most relevant
376-
# changes in PRs and avoid nitpicking.
377-
exclude-use-default: false
378382
formatters:
379383
enable:
380384
- gci # ensures imports are organized

0 commit comments

Comments
 (0)