forgejo/services/auth/source
silverwind 12b199c5e5
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`.

(cherry picked from commit 74f0c84fa4245a20ce6fb87dac1faf2aeeded2a2)

Conflicts:
	.golangci.yml
	apply the linter recommendations to Forgejo code as well
2024-04-28 15:39:00 +02:00
..
db Fix c/p error in inline documentation (#29148) 2024-02-19 22:58:33 +01:00
ldap Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
oauth2 fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2024-04-15 20:01:36 +02:00
pam Start to migrate from util.OptionalBool to optional.Option[bool] (#29329) 2024-02-26 22:30:26 +01:00
remote Implement remote user login source and promotion to regular user 2024-04-25 13:03:49 +02:00
smtp Start to migrate from util.OptionalBool to optional.Option[bool] (#29329) 2024-02-26 22:30:26 +01:00
sspi Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_group_sync.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00