1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/exporters/otlp/otlptrace/internal/tracetransform
Tyler Yahn 1f5b159161
Use already enabled revive linter and add depguard (#2883)
* Refactor golangci-lint conf

Order settings alphabetically.

* Add revive settings to golangci conf

* Check blank imports

* Check bool-literal-in-expr

* Check constant-logical-expr

* Check context-as-argument

* Check context-key-type

* Check deep-exit

* Check defer

* Check dot-imports

* Check duplicated-imports

* Check early-return

* Check empty-block

* Check empty-lines

* Check error-naming

* Check error-return

* Check error-strings

* Check errorf

* Stop ignoring context first arg in tests

* Check exported comments

* Check flag-parameter

* Check identical branches

* Check if-return

* Check increment-decrement

* Check indent-error-flow

* Check deny list of go imports

* Check import shadowing

* Check package comments

* Check range

* Check range val in closure

* Check range val address

* Check redefines builtin id

* Check string-format

* Check struct tag

* Check superfluous else

* Check time equal

* Check var naming

* Check var declaration

* Check unconditional recursion

* Check unexported return

* Check unhandled errors

* Check unnecessary stmt

* Check unnecessary break

* Check waitgroup by value

* Exclude deep-exit check in example*_test.go files
2022-05-19 15:15:07 -05:00
..
attribute_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
attribute.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
instrumentation.go Upgrade go.opentelemetry.io/proto to v0.15.0 (#2748) 2022-03-30 08:18:59 -07:00
resource_test.go Unify the OTLP attribute transform (#2170) 2021-08-11 11:30:05 -07:00
resource.go Fix imports in all files except generated files in jaeger exporter (#2383) 2021-11-13 08:35:04 -08:00
span_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
span.go Upgrade go.opentelemetry.io/proto to v0.15.0 (#2748) 2022-03-30 08:18:59 -07:00