0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-24 19:47:29 +01:00
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_org.go
api_test.go
api.go Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00
base_test.go Use strict protocol check when redirect (#29642) 2024-03-07 02:03:41 +00:00
base.go Use strict protocol check when redirect (#29642) 2024-03-07 02:03:41 +00:00
captcha.go Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00
context_cookie.go
context_model.go
context_request.go
context_response.go Refactor URL detection (#29960) 2024-03-21 12:02:34 +00:00
context_template.go
context_test.go Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
context.go Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
csrf.go
org.go
package.go
pagination.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
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_test.go
xsrf.go