We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7276e8d commit ae83548Copy full SHA for ae83548
bpf-prog/block-iptables/.golangci.yml
@@ -0,0 +1,38 @@
1
+issues:
2
+ max-same-issues: 0
3
+ max-issues-per-linter: 0
4
+linters:
5
+ presets:
6
+ - bugs
7
+ - error
8
+ - format
9
+ - performance
10
+ - unused
11
+ enable:
12
+ - copyloopvar
13
+ - goconst
14
+ - gocritic
15
+ - gocyclo
16
+ - gofmt
17
+ - goprintffuncname
18
+ - gosimple
19
+ - lll
20
+ - misspell
21
+ - nakedret
22
+ - promlinter
23
+ - revive
24
+ disable:
25
+ - typecheck
26
+linters-settings:
27
+ gocritic:
28
+ enabled-tags:
29
+ - "diagnostic"
30
+ - "style"
31
+ - "performance"
32
+ disabled-checks:
33
+ - "hugeParam"
34
+ govet:
35
36
+ - shadow
37
+ lll:
38
+ line-length: 200
bpf-prog/block-iptables/pkg/bpfprogram/program.go
@@ -1,4 +1,3 @@
-//nolint:typecheck // BlockIptablesObjects is part of generated code
package bpfprogram
import (
0 commit comments