Skip to content

Commit

Permalink
FIxes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Oct 23, 2024
1 parent aeed000 commit 91ad638
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ linters-settings:
- name: error-return
- name: error-strings
- name: error-naming
- name: exported
- name: if-return
- name: increment-decrement
- name: var-naming
# - name: var-naming
- name: var-declaration
- name: package-comments
- name: range
Expand All @@ -93,7 +92,7 @@ linters-settings:
- name: struct-tag
# - name: string-format
- name: string-of-int
- name: range-val-address
# - name: range-val-address
- name: range-val-in-closure
- name: modifies-value-receiver
- name: modifies-parameter
Expand Down Expand Up @@ -128,9 +127,9 @@ linters-settings:
desc: Use github.com/stretchr/testify/mock instead
- pkg: github.com/test-go/testify/require
desc: Use github.com/stretchr/testify/require instead
# TODO https://smartcontract-it.atlassian.net/browse/BCI-2589
# - pkg: go.uber.org/multierr
# desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join
# TODO https://smartcontract-it.atlassian.net/browse/BCI-2589
# - pkg: go.uber.org/multierr
# desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join
- pkg: gopkg.in/guregu/null.v1
desc: Use gopkg.in/guregu/null.v4 instead
- pkg: gopkg.in/guregu/null.v2
Expand Down Expand Up @@ -166,4 +165,4 @@ issues:
- path: test
text: "^G404:"
linters:
- gosec
- gosec

0 comments on commit 91ad638

Please sign in to comment.