0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 04:08:25 +01:00
gitea/models/repo
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
..
archiver.go
attachment_test.go
attachment.go
avatar.go
collaboration_test.go
collaboration.go
fork_test.go
fork.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror_test.go
pushmirror.go
redirect_test.go
redirect.go
release_test.go
release.go
repo_indexer.go
repo_list_test.go
repo_list.go
repo_test.go
repo_unit_test.go
repo_unit.go
repo.go
search.go
star_test.go
star.go
topic_test.go
topic.go
update.go
upload.go
user_repo_test.go
user_repo.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
watch_test.go
watch.go
wiki_test.go
wiki.go