mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-28 15:52:33 +02:00

* cleanup code for URL type * fix makefile for trace mode * refactor, merge Entry, RawEntry and Route into one. * Implement fileserver. * refactor: rename HTTPRoute to ReverseProxyRoute to avoid confusion * refactor: move metrics logger to middleware package - fix prometheus metrics for load balanced routes - route will now fail when health monitor fail to start * fix extra output of ls-* commands by defer initializaing stuff, speed up start time * add test for path traversal attack, small fix on FileServer.Start method * rename rule.on.bypass to pass * refactor and fixed map-to-map deserialization * updated route loading logic * schemas: add "add_prefix" option to modify_request middleware * updated route JSONMarshalling --------- Co-authored-by: yusing <yusing@6uo.me>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
|
|
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
|
|
version: 0.1
|
|
cli:
|
|
version: 1.22.9
|
|
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
|
|
plugins:
|
|
sources:
|
|
- id: trunk
|
|
ref: v1.6.7
|
|
uri: https://github.com/trunk-io/plugins
|
|
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
|
|
runtimes:
|
|
enabled:
|
|
- node@18.20.5
|
|
- python@3.10.8
|
|
- go@1.23.2
|
|
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
|
|
lint:
|
|
disabled:
|
|
- markdownlint
|
|
- yamllint
|
|
enabled:
|
|
- hadolint@2.12.1-beta
|
|
- actionlint@1.7.7
|
|
- checkov@3.2.360
|
|
- git-diff-check
|
|
- gofmt@1.20.4
|
|
- golangci-lint@1.63.4
|
|
- osv-scanner@1.9.2
|
|
- oxipng@9.1.3
|
|
- prettier@3.4.2
|
|
- shellcheck@0.10.0
|
|
- shfmt@3.6.0
|
|
- trufflehog@3.88.4
|
|
actions:
|
|
disabled:
|
|
- trunk-announce
|
|
- trunk-check-pre-push
|
|
- trunk-fmt-pre-commit
|
|
enabled:
|
|
- trunk-upgrade-available
|