diff options
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..66732bf --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,32 @@ +run: + timeout: 1m + concurrency: 2 + tests: false + +linters: + enable-all: false + disable-all: true + enable: + - errcheck + - gosimple + - govet + - ineffassign + - staticcheck + - typecheck + - unused + - prealloc + presets: + - performance + +linters-settings: + funlen: + lines: 80 + statements: 50 + lll: + line-length: 80 + +issues: + exclude: + # Display all issues + max-issues-per-linter: 0 + max-same-issues: 0 |