gitea/services/user
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
..
avatar.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
block_test.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
delete.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
email.go Skip email domain check when admins edit user emails (#29609) 2024-03-05 16:51:56 +00:00
email_test.go Skip email domain check when admins edit user emails (#29609) 2024-03-05 16:51:56 +00:00
update.go Unify password changing and invalidate auth tokens (#27625) 2024-02-04 14:05:26 +00:00
update_test.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
user.go Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 2024-04-01 02:06:35 +00:00
user_test.go Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 2024-04-01 02:06:35 +00:00