kubo/test/cli/testutils
Marcin Rataj 4f4dac9564 chore: fix all golangci-lint staticcheck issues
align kubo with unified golang ci linter from IPDX and
rules used in boxo and other go packages

addressed lint rules:
- ST1000: added package comments
- ST1020, ST1021, ST1022: fixed function/method comments
- QF1001: applied De Morgan's law
- QF1003: converted if-else chains to tagged switches
- QF1004: replaced strings.Replace with strings.ReplaceAll
- QF1008: simplified embedded struct field selectors
- unconvert: removed unnecessary type conversions
- usestdlibvars: used stdlib constants instead of literals

disabled errcheck linter in .golangci.yml
2025-08-20 02:07:42 +02:00
..
httprouting chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
pinningservice chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
asserts.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
cids.go feat: add basic CLI tests using Go Test 2022-12-12 09:43:09 -05:00
files.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
floats.go feat: add deduplication ratio to 'ipfs dag stat' (#9787) 2023-06-06 15:17:45 +02:00
json.go feat: port pins CLI test 2022-12-16 07:39:52 -05:00
random_deterministic.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
requires.go refactor: remove goprocess (#10872) 2025-08-06 00:33:45 +02:00
strings.go chore: replace random test utils with equivalents in go-test/random (#10915) 2025-08-14 10:37:55 -07:00