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
block.go
block_test.go
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
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