1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/routers/web/admin
silverwind fc2d75f86d
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>
2024-06-11 18:47:45 +00:00
..
admin_test.go Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) 2024-05-19 14:56:08 +00:00
admin.go Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
applications.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
auths.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
config.go Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
diagnosis.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
emails.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
hooks.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notice.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
orgs.go Update misspell to 0.5.1 and add misspellings.csv (#30573) 2024-04-27 08:03:49 +00:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
queue_tester.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
queue.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repos.go Add missed return after ctx.ServerError (#31130) 2024-05-28 12:31:59 +03:00
runners.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
stacktrace.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
users_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
users.go Update misspell to 0.5.1 and add misspellings.csv (#30573) 2024-04-27 08:03:49 +00:00