mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
* wip * resolve merge artifacts * full coverage for conductor * wire plugin conductor to main and proxy * wip, with separate match handler * split matching logic with another handler, add initial docs * move parts of proxy to handlers, add tests * add headers in to be sent to proxied url * merged from master * add example with docker compose * supress excesive debug reporting 0-9 disabled in docker * add plugin tests * randomize test port * lint: minor warns * lint: err shadow
60 lines
892 B
YAML
60 lines
892 B
YAML
linters-settings:
|
|
govet:
|
|
check-shadowing: true
|
|
golint:
|
|
min-confidence: 0
|
|
gocyclo:
|
|
min-complexity: 15
|
|
maligned:
|
|
suggest-new: true
|
|
dupl:
|
|
threshold: 100
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
misspell:
|
|
locale: US
|
|
lll:
|
|
line-length: 140
|
|
gocritic:
|
|
enabled-tags:
|
|
- performance
|
|
- style
|
|
- experimental
|
|
disabled-checks:
|
|
- wrapperFunc
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- megacheck
|
|
- govet
|
|
- unconvert
|
|
- megacheck
|
|
- structcheck
|
|
- gas
|
|
- gocyclo
|
|
- dupl
|
|
- misspell
|
|
- unparam
|
|
- varcheck
|
|
- deadcode
|
|
- typecheck
|
|
- ineffassign
|
|
- varcheck
|
|
fast: false
|
|
|
|
|
|
run:
|
|
# modules-download-mode: vendor
|
|
skip-dirs:
|
|
- vendor
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- text: "weak cryptographic primitive"
|
|
linters:
|
|
- gosec
|
|
|
|
service:
|
|
golangci-lint-version: 1.16.x |