1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-07 23:02:15 +02:00
opentelemetry-go/sdk/trace
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
..
tracetest Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
batch_span_processor_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
batch_span_processor.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
benchmark_test.go Update span limits to comply with specification (#2637) 2022-03-03 07:56:07 -08:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
event.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
evictedqueue_test.go
evictedqueue.go Update span limits to comply with specification (#2637) 2022-03-03 07:56:07 -08:00
id_generator.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
link.go Removed dropped link's attributes field from API package (#2118) 2021-07-26 11:06:41 -04:00
provider_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
provider.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
sampler_env.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
sampling_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
sampling.go Add godot linter to golangci (#2845) 2022-04-25 13:22:49 -07:00
simple_span_processor_test.go Fix imports in all files except generated files in jaeger exporter (#2383) 2021-11-13 08:35:04 -08:00
simple_span_processor.go Add Marshaling implementations for exporters (#2578) 2022-02-25 10:28:28 -08:00
snapshot.go chore: adds vanity import check. (#2255) 2021-09-27 22:37:26 -04:00
span_exporter.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
span_limits_test.go Update span limits to comply with specification (#2637) 2022-03-03 07:56:07 -08:00
span_limits.go Add godot linter to golangci (#2845) 2022-04-25 13:22:49 -07:00
span_processor_annotator_example_test.go
span_processor_filter_example_test.go
span_processor_test.go Handle nil testSpanProcessor (#2400) 2021-11-16 08:57:10 -08:00
span_processor.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
span_test.go Update span limits to comply with specification (#2637) 2022-03-03 07:56:07 -08:00
span.go Add semconv/v1.10.0 (#2842) 2022-04-22 07:41:28 -07:00
trace_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
tracer.go Replace recordingSpan attributes implementation with slice of attributes (#2576) 2022-02-07 12:58:05 -08:00
util_test.go