kubo/core/coreapi
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
..
test chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
block.go feat: support optional pin names (#10261) 2024-01-04 14:25:06 +01:00
coreapi.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
dag.go feat: support optional pin names (#10261) 2024-01-04 14:25:06 +01:00
key.go chore: use errors.New to replace fmt.Errorf with no parameters (#10617) 2024-12-10 13:50:35 -08:00
name.go feat(ipns): support passing custom sequence number during publishing (#10851) 2025-08-13 04:15:45 +02:00
object.go core/commands!: remove deprecated object APIs (#10375) 2024-03-22 09:32:30 +01:00
path.go chore: clean migration 2023-11-29 12:29:59 +01:00
pin.go fix: Provide according to Reprovider.Strategy (#10886) 2025-08-08 10:56:44 +02:00
pubsub.go chore: clean migration 2023-11-29 12:29:59 +01:00
routing.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
swarm.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00
unixfs.go chore: fix all golangci-lint staticcheck issues 2025-08-20 02:07:42 +02:00