mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-25 09:40:56 +08:00
9fe4437bda
* Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
24 lines
352 B
YAML
24 lines
352 B
YAML
linters-settings:
|
|
govet:
|
|
check-shadowing: true
|
|
golint:
|
|
min-confidence: 0
|
|
gocyclo:
|
|
min-complexity: 45
|
|
maligned:
|
|
suggest-new: true
|
|
dupl:
|
|
threshold: 200
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
|
|
linters:
|
|
enable-all: true
|
|
disable:
|
|
- maligned
|
|
- unparam
|
|
- lll
|
|
- gochecknoinits
|
|
- gochecknoglobals
|