1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 03:34:24 +00:00
gitea/routers/private
silverwind 74f0c84fa4
Enable more revive linter rules (#30608)
Noteable additions:

- `redefines-builtin-id` forbid variable names that shadow go builtins
- `empty-lines` remove unnecessary empty lines that `gofumpt` does not
remove for some reason
- `superfluous-else` eliminate more superfluous `else` branches

Rules are also sorted alphabetically and I cleaned up various parts of
`.golangci.yml`.
2024-04-22 11:48:42 +00:00
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
actions.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
default_branch.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
hook_post_receive.go Performance optimization for git push (#30104) 2024-04-09 03:43:17 +00:00
hook_pre_receive.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
hook_proc_receive.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_verification_test.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
hook_verification.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
internal_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
internal.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
key.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
mail.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
manager_process.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_unix.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_windows.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
restore_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
serv.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
ssh_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00