Skip to content

Commit ae83548

Browse files
fix: golangci skip
1 parent 7276e8d commit ae83548

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
enable:
36+
- shadow
37+
lll:
38+
line-length: 200

bpf-prog/block-iptables/pkg/bpfprogram/program.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//nolint:typecheck // BlockIptablesObjects is part of generated code
21
package bpfprogram
32

43
import (

0 commit comments

Comments
 (0)