aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644
index 0000000..61937fb
--- /dev/null
+++ b/.golangci.yml
@@ -0,0 +1,20 @@
+run:
+ timeout: 5m
+ tests: true
+
+linters:
+ enable:
+ - govet
+ - staticcheck
+ - gofmt
+ - goimports
+ - misspell
+ - gocyclo
+ - unparam
+ - unused
+
+linters-settings:
+ gocyclo:
+ min-complexity: 15
+ goimports:
+ local-prefixes: adammathes.com/neko