gitea/services/issue
silverwind a0160694b9
Enable `nilnil` linter for new code (#36591)
Fixes: https://github.com/go-gitea/gitea/issues/36152

Enable the `nilnil` linter while adding `//nolint` comments to existing
violations. This will ensure no new issues enter the code base while we
can fix existing issues gradually.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 09:57:18 +00:00
..
assignee.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
assignee_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
comments.go Creating push comments before invoke pull request checking (#35647) 2025-10-14 19:19:27 +00:00
commit.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
commit_test.go Don't create self-references in merged PRs (#36490) 2026-01-30 20:12:24 +00:00
content.go Prevent simultaneous editing of comments and issues (#31053) 2024-05-27 15:34:18 +00:00
issue.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
issue_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
label.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
label_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
main_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
milestone.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
milestone_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull.go Some refactors about GetMergeBase (#36186) 2026-01-17 11:22:09 -08:00
reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
reaction_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
status.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
suggestion.go Rework suggestion backend (#33538) 2025-02-10 16:24:05 +00:00
suggestion_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
template.go Limit reading bytes instead of ReadAll (#35928) 2025-11-12 19:44:49 +08:00