0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-19 04:42:32 -05:00
forgejo/routers/web/repo
silverwind d8bc0495de
Enable unparam linter (#31277)
Enable [unparam](https://github.com/mvdan/unparam) linter.

Often I could not tell the intention why param is unused, so I put
`//nolint` for those cases like webhook request creation functions never
using `ctx`.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
(cherry picked from commit fc2d75f86d77b022ece848acf2581c14ef21d43b)

Conflicts:
	modules/setting/config_env.go
	modules/storage/azureblob.go
	services/webhook/dingtalk.go
	services/webhook/discord.go
	services/webhook/feishu.go
	services/webhook/matrix.go
	services/webhook/msteams.go
	services/webhook/packagist.go
	services/webhook/slack.go
	services/webhook/telegram.go
	services/webhook/wechatwork.go

	run make lint-go and fix Forgejo specific warnings
2024-06-16 13:42:58 +02:00
..
actions Fix possible ui 500 if workflow's job is nil (#31092) 2024-06-02 09:04:43 +02:00
badges Enable unparam linter (#31277) 2024-06-16 13:42:58 +02:00
flags
setting fix review 2024-05-29 18:31:06 +02:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
code_frequency.go
commit.go
compare.go Refactor sha1 and time-limited code (#31023) 2024-05-26 18:43:30 +02:00
contributors.go
download.go
editor.go Add missed return after ctx.ServerError (#31130) 2024-06-02 16:26:54 +02:00
editor_test.go
find.go
githttp.go
githttp_test.go
helper.go
helper_test.go
issue.go Prevent simultaneous editing of comments and issues (#31053) 2024-06-02 16:26:54 +02:00
issue_content_history.go Remove unnecessary inline style for tab-size (#31224) 2024-06-09 11:13:39 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
projects_test.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
pull.go Fix misspelling of mergable (#30896) 2024-05-12 20:03:10 +02:00
pull_review.go
pull_review_test.go
recent_commits.go
release.go
release_test.go
render.go
repo.go feat(federated-star) star repositories via ActivityPub (#1680) 2024-06-06 08:58:11 +02:00
search.go [FEAT] support searching non default branches/tags when using git-grep (#3654) 2024-05-14 15:41:03 +00:00
topic.go
treelist.go
view.go [FEAT] support searching non default branches/tags when using git-grep (#3654) 2024-05-14 15:41:03 +00:00
view_test.go
wiki.go feat: wiki search using git-grep 2024-05-20 13:48:50 +00:00
wiki_test.go