Skip to content

Commit

Permalink
ci: add golangci-lint configuration file (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing authored and caarlos0 committed Oct 10, 2019
1 parent 351ef4d commit b7551c5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .golangci.yml
@@ -0,0 +1,14 @@
# This file contains all available configuration options
# with their default values.

# options for analysis running
run:
tests: false

linters:
enable-all: true
disable:
- wsl
- lll
- funlen
- godox
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -37,7 +37,7 @@ lint:
# TODO: fix funlen issues
# TODO: fix godox issues
# TODO: fix wsl issues
./bin/golangci-lint run --tests=false --enable-all --disable wsl --disable lll --disable funlen --disable godox ./...
./bin/golangci-lint run ./...
./bin/misspell -error **/*
.PHONY: lint

Expand Down

0 comments on commit b7551c5

Please sign in to comment.