Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,25 @@ linters-settings:
# minimal occurrences count to trigger, 3 by default
min-occurrences: 2

<<<<<<< HEAD
dupl:
# tokens count to trigger issue, 150 by default
threshold: 100
=======
gomoddirectives:
# Allow local `replace` directives. Default is false.
replace-local: false
gomodguard:
blocked:
# List of blocked modules.
modules:
- github.com/bytedance/sonic:
reason: "Federal restriction on bytedance"
- github.com/elastic/beats/v7:
reason: "There must be no Beats dependency, use elastic-agent-libs instead."
- github.com/elastic/beats/elastic-agent:
reason: "There must be no elastic-agent dependency, use elastic-agent-libs instead."
>>>>>>> fc7115f (build(deps): bump github.com/getkin/kin-openapi from 0.118.0 to 0.131.0 in /dev-tools (#4920))

forbidigo:
# Forbid the following identifiers
Expand Down
53 changes: 53 additions & 0 deletions dev-tools/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
module github.com/elastic/fleet-server/dev-tools

go 1.24.0

tool (
github.com/elastic/go-json-schema-generate/cmd/schema-generate
github.com/elastic/go-licenser
github.com/jstemmer/go-junit-report
github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen
go.elastic.co/go-licence-detector
golang.org/x/perf/cmd/benchstat
)

require github.com/elastic/elastic-agent-libs v0.18.12

require (
github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 // indirect
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect
github.com/elastic/go-json-schema-generate v0.0.0-20220323152209-ec19b88f6b5e // indirect
github.com/elastic/go-licenser v0.4.2 // indirect
github.com/elastic/go-ucfg v0.8.5 // indirect
github.com/elastic/pkcs8 v1.0.0 // indirect
github.com/getkin/kin-openapi v0.131.0 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/google/licenseclassifier v0.0.0-20200402202327-879cb1424de0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/jstemmer/go-junit-report v1.0.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/oapi-codegen/oapi-codegen/v2 v2.4.1 // indirect
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect
github.com/perimeterx/marshmallow v1.1.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/speakeasy-api/openapi-overlay v0.9.0 // indirect
github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect
go.elastic.co/ecszap v1.0.2 // indirect
go.elastic.co/go-licence-detector v0.7.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.36.0 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/perf v0.0.0-20250305200902-02a15fd477ba // indirect
golang.org/x/sync v0.12.0 // indirect
golang.org/x/sys v0.31.0 // indirect
golang.org/x/text v0.23.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
272 changes: 272 additions & 0 deletions dev-tools/go.sum

Large diffs are not rendered by default.

Loading
Loading