0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-02-18 00:01:53 +01:00
gitea/routers/api/v1
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
..
activitypub
admin Fix empty field login_name in API response JSON when creating user (#30511) 2024-04-16 13:13:00 +08:00
misc
notify
org
packages
repo Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
settings
shared
swagger feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
user
utils
api.go Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00