Skip to content

Commit

Permalink
disabled annoying lints
Browse files Browse the repository at this point in the history
  • Loading branch information
pompon0 committed Jan 15, 2025
1 parent fbc351d commit 983fed7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkg/tools/golang/golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ linters:
- maintidx
- nlreturn
- nonamedreturns
- nolintlint
- paralleltest
- prealloc
- testpackage
Expand Down Expand Up @@ -97,10 +98,12 @@ linters-settings:
- name: dot-imports
- name: error-naming
- name: error-return
- name: error-strings
arguments:
- "sdkerrors.Wrap"
- "sdkerrors.Wrapf"
# error-strings disallows any string starting with capital letter.
# In particular it disallows starting error messages with names of public functions, which is annoying.
#- name: error-strings
# arguments:
# - "sdkerrors.Wrap"
# - "sdkerrors.Wrapf"
- name: errorf
- name: exported
- name: if-return
Expand Down

0 comments on commit 983fed7

Please sign in to comment.