Skip to content

Commit 2a814b1

Browse files
committed
Add golangci-lint
1 parent 218bdbb commit 2a814b1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: "2"
2+
linters:
3+
default: standard
4+
disable:
5+
- errcheck
6+

Dockerfile.base.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apk add --no-cache \
1010
gcc \
1111
make \
1212
musl musl-dev \
13-
ncurses ncurses-dev ncurses-libs ncurses-static
13+
ncurses ncurses-dev ncurses-libs ncurses-static golangci-lint
1414

1515
ENV PATH=${PATH}:/usr/local/go/bin
1616

0 commit comments

Comments
 (0)