summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 2c7e552..ce57300 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,6 +1,7 @@
version: "2"
run:
- concurrency: 2
+ timeout: 1m
+ concurrency: 4
tests: false
linters:
default: none
@@ -14,7 +15,13 @@ linters:
- prealloc
- staticcheck
- unused
+ - gocritic
+ - unconvert
+ - wastedassign
settings:
+ gocritic:
+ enabled-tags:
+ - performance
funlen:
lines: 80
statements: 50