simplify linter settings

This commit is contained in:
aler9 2020-12-06 12:22:00 +01:00
parent 19440f2486
commit 769e1a7e1a
3 changed files with 9 additions and 10 deletions

View File

@ -18,8 +18,3 @@ jobs:
- uses: golangci/golangci-lint-action@v2
with:
version: v1.33
args: >
--disable=errcheck
--enable=gofmt
--enable=golint
--enable=misspell

8
.golangci.yml Normal file
View File

@ -0,0 +1,8 @@
linters:
disable:
- errcheck
enable:
- gofmt
- golint
- misspell

View File

@ -57,11 +57,7 @@ test-nodocker:
lint:
docker run --rm -v $(PWD):/app -w /app \
golangci/golangci-lint:v1.33.0 \
golangci-lint run -v \
--disable=errcheck \
--enable=gofmt \
--enable=golint \
--enable=misspell
golangci-lint run -v
stress:
docker build -q . -f stress/$(NAME)/Dockerfile -t temp