gitea/cmd
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
..
actions.go
admin_auth_ldap_test.go
admin_auth_ldap.go
admin_auth_oauth.go
admin_auth_stmp.go
admin_auth.go
admin_regenerate.go
admin_user_change_password.go
admin_user_create.go
admin_user_delete.go
admin_user_generate_access_token.go
admin_user_list.go
admin_user_must_change_password.go
admin_user.go
admin.go
cert.go
cmd.go
docs.go
doctor_convert.go
doctor_test.go
doctor.go
dump_repo.go
dump.go
embedded.go
generate.go
hook_test.go
hook.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
keys.go
mailer.go
main_test.go
main.go
manager_logging.go
manager.go
migrate_storage_test.go
migrate_storage.go
migrate.go
restore_repo.go
serv.go
web_acme.go
web_graceful.go
web_https.go
web.go