1

Add login support, golangci-lint config

This commit is contained in:
2019-09-14 18:55:39 +04:00
parent afc2a73ed6
commit c1c969db2e
7 changed files with 178 additions and 0 deletions

19
.golangci.yaml Normal file
View File

@@ -0,0 +1,19 @@
run:
deadline: 5m
linters:
enable-all: true
disable:
- gochecknoglobals
- goimports
- gocritic
linters-settings:
lll:
line-length: 420
gocyclo:
min-complexity: 40
issues:
exclude-rules:
- path: "exported.go"
linters:
- dupl