Add login support, golangci-lint config
This commit is contained in:
19
.golangci.yaml
Normal file
19
.golangci.yaml
Normal 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
|
||||
Reference in New Issue
Block a user