Skip to content

Commit 0489359

Browse files
feat(lint): adding liniting exceptions for pkg/
Signed-off-by: Steffen Karlsson <[email protected]>
1 parent 27550bc commit 0489359

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ linters:
6767
- staticcheck
6868
text: "ST1001"
6969
path: test/e2e/*
70+
- linters:
71+
- dupl
72+
- lll
73+
path: pkg/*
7074
paths:
7175
- third_party$
7276
- builtin$

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN go mod download
1515
# Copy the go source
1616
COPY cmd/main.go cmd/main.go
1717
COPY api/ api/
18+
COPY pkg/ pkg/
1819
COPY internal/ internal/
1920

2021
# Build

0 commit comments

Comments
 (0)