1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 17:05:48 +00:00
gitea/routers
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
..
api Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
common feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
install Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
private Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
init.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00