0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 08:14:46 +01:00
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.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
admin_auth.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
admin_auth_ldap.go
admin_auth_ldap_test.go
admin_auth_oauth.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
admin_auth_stmp.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
admin_regenerate.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
admin_user.go
admin_user_change_password.go Improve "must-change-password" logic and document (#30472) 2024-04-14 17:22:14 +00:00
admin_user_create.go Improve "must-change-password" logic and document (#30472) 2024-04-14 17:22:14 +00:00
admin_user_delete.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
admin_user_generate_access_token.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
admin_user_list.go
admin_user_must_change_password.go
cert.go
cmd.go
docs.go
doctor.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
doctor_convert.go
doctor_test.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
dump.go Add --skip-db option to dump command (#30613) 2024-04-21 23:32:12 +02:00
dump_repo.go
embedded.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
generate.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
hook.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
hook_test.go
keys.go Refactor cmd setup and remove deadcode (#29313) 2024-02-22 07:04:30 +00:00
mailer.go
main.go
main_test.go
manager.go
manager_logging.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2024-04-21 19:44:03 +00:00
migrate.go
migrate_storage.go Fix migrate storage bug (#28830) 2024-01-20 23:27:31 +08:00
migrate_storage_test.go
restore_repo.go
serv.go Refactor cmd setup and remove deadcode (#29313) 2024-02-22 07:04:30 +00:00
web.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
web_acme.go
web_graceful.go
web_https.go