gitea/services/context
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
..
upload
access_log.go
api.go
api_org.go
api_test.go
base.go
base_test.go
captcha.go
context.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_template.go
context_test.go
csrf.go
org.go
package.go
pagination.go
permission.go
private.go
repo.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
response.go
user.go
utils.go
xsrf.go
xsrf_test.go