aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml30
1 files changed, 18 insertions, 12 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 61937fb..0837e25 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,20 +1,26 @@
+version: "2"
run:
- timeout: 5m
tests: true
+ timeout: 5m
linters:
+ disable-all: true
+ disable:
+ - errcheck
enable:
- - govet
- staticcheck
- - gofmt
- - goimports
- - misspell
- - gocyclo
+ - govet
+ - ineffassign
- unparam
- - unused
+ - misspell
+
+issues:
+ exclude-use-default: false
+ max-issues-per-linter: 0
+ max-same-issues: 0
+ exclude-rules:
+ - path: _test\.go
+ linters:
+ - errcheck
+ - staticcheck
-linters-settings:
- gocyclo:
- min-complexity: 15
- goimports:
- local-prefixes: adammathes.com/neko