mirror of
1
Fork 0
gotosocial/docs/api
Markus Unterwaditzer a48cce82b9
[chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420)
* [chore] Bump tooling versions, bump go -> v1.23.0

* undo silly change

* sign

* bump go version in go.mod

* allow overflow in imaging

* goreleaser deprecation notices

* [chore] Upgrade golangci-lint, ignore existing int overflow warnings

There is a new lint for unchecked int casts. Integer overflows are bad,
but the old code that triggers this lint seems to be perfectly fine.
Instead of disabling the lint entirely for new code as well, grandfather
in existing code.

* fix golangci-lint documentation link

* revert unrelated changes

* revert another unrelated change

* get rid of remaining nolint:gosec

* swagger updates

* apply review feedback

* fix wrong formatting specifier thing

* fix the linter for real

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-10-16 14:13:58 +02:00
..
authentication.md [docs] Tidy up API auth docs a little bit (#3050) 2024-06-28 15:27:47 +02:00
ratelimiting.md [feature] Add rate limit exceptions option, use ISO8601 for rate limit reset (#2151) 2023-08-23 14:32:27 +02:00
swagger.md [chore/docs] Various little docs updates (#2691) 2024-02-27 14:39:22 +00:00
swagger.yaml [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
throttling.md [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00