1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/attribute
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
..
benchmark_test.go Remove deprecated Array from attribute package (#2235) 2021-09-10 11:51:02 -04:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
encoder.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
iterator_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
iterator.go Replace use of old term label with attribute (#2790) 2022-04-18 07:31:31 -07:00
key_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
key.go Remove deprecated Array from attribute package (#2235) 2021-09-10 11:51:02 -04:00
kv_test.go Remove deprecated Array from attribute package (#2235) 2021-09-10 11:51:02 -04:00
kv.go refactor: use Key's Defined method (#2593) 2022-02-10 19:41:34 -05:00
set_test.go Replace use of old term label with attribute (#2790) 2022-04-18 07:31:31 -07:00
set.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
type_string.go Bump github.com/jcchavezs/porto from 0.2.1 to 0.3.0 in /internal/tools (#2288) 2021-10-15 11:36:56 -07:00
value_test.go Remove deprecated Array from attribute package (#2235) 2021-09-10 11:51:02 -04:00
value.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00