Skip to content

Commit

Permalink
fix: disable golangci-lint gosimple: SA1001 due to false-positive
Browse files Browse the repository at this point in the history
  • Loading branch information
dechristopher committed Nov 22, 2022
1 parent 09c7af4 commit a6d3bb2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
linters-settings:
gosimple:
checks:
- all
- '-S1001' # disable the rule S1001, packet/encode.go:57:2: S1001: should use copy() instead of a loop

0 comments on commit a6d3bb2

Please sign in to comment.