diff options
| author | 2025-06-13 15:45:35 +0200 | |
|---|---|---|
| committer | 2025-06-13 15:45:35 +0200 | |
| commit | 5717ce6f3caf09e1952cba00ce84a53977309f5c (patch) | |
| tree | 51af6d9435c2351506aaad36b3f880fa4ca45e11 /internal/api/client/statuses/statusboost_test.go | |
| parent | [bugfix/accessibility] Don't remove marker from unordered lists, recolor inst... (diff) | |
| download | gotosocial-5717ce6f3caf09e1952cba00ce84a53977309f5c.tar.xz | |
[chore] upgrade golangci-lint to v2.1.6 and migrate config (#4265)
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
# Description
Contribution guidelines link to the golangci-lint documentation for the up-to-date version rather than [the legacy v1 doc](https://golangci.github.io/legacy-v1-doc/), which uses a different configuration schema. I migrated the config using the `golangci-lint migrate` command, moved the comments, adjusted staticcheck config and ensured the rules still work.
## Checklist
- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [ ] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [ ] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [ ] I/we have commented the added code, particularly in hard-to-understand areas.
- [ ] I/we have made any necessary changes to documentation.
- [ ] I/we have added tests that cover new code.
- [ ] I/we have run tests and they pass locally with the changes.
- [ ] I/we have run `go fmt ./...` and `golangci-lint run`.
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4265
Co-authored-by: nicole mikołajczyk <git@mkljczk.pl>
Co-committed-by: nicole mikołajczyk <git@mkljczk.pl>
Diffstat (limited to 'internal/api/client/statuses/statusboost_test.go')
0 files changed, 0 insertions, 0 deletions
