mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Uses `gopls check <files>` as a linter. Tested locally and brings up 149 errors currently for me. I don't think I want to fix them in this PR, but I would like at least to get this analysis running on CI. List of errors: ``` modules/indexer/code/indexer.go:181:11: impossible condition: nil != nil routers/private/hook_post_receive.go:120:15: tautological condition: nil == nil services/auth/source/oauth2/providers.go:185:9: tautological condition: nil == nil services/convert/issue.go:216:11: tautological condition: non-nil != nil tests/integration/git_test.go:332:9: impossible condition: nil != nil services/migrations/migrate.go:179:24-43: unused parameter: ctx services/repository/transfer.go:288:48-69: unused parameter: doer tests/integration/api_repo_tags_test.go:75:41-61: unused parameter: session tests/integration/git_test.go:696:64-74: unused parameter: baseBranch tests/integration/gpg_git_test.go:265:27-39: unused parameter: t tests/integration/gpg_git_test.go:284:23-29: unused parameter: tmpDir tests/integration/gpg_git_test.go:284:31-35: unused parameter: name tests/integration/gpg_git_test.go:284:37-42: unused parameter: email ``` |
8 months ago | |
---|---|---|
.. | ||
archiver | 12 months ago | |
commitstatus | 9 months ago | |
files | 9 months ago | |
adopt.go | 9 months ago | |
adopt_test.go | 2 years ago | |
avatar.go | 2 years ago | |
avatar_test.go | 2 years ago | |
branch.go | 8 months ago | |
cache.go | 1 year ago | |
check.go | 1 year ago | |
collaboration.go | 11 months ago | |
collaboration_test.go | 11 months ago | |
commit.go | 12 months ago | |
contributors_graph.go | 10 months ago | |
contributors_graph_test.go | 10 months ago | |
create.go | 11 months ago | |
create_test.go | 12 months ago | |
delete.go | 10 months ago | |
delete_test.go | 1 year ago | |
fork.go | 11 months ago | |
fork_test.go | 2 years ago | |
generate.go | 11 months ago | |
generate_test.go | 12 months ago | |
hooks.go | 1 year ago | |
init.go | 12 months ago | |
lfs.go | 12 months ago | |
lfs_test.go | 1 year ago | |
main_test.go | 1 year ago | |
migrate.go | 11 months ago | |
push.go | 11 months ago | |
repository.go | 9 months ago | |
repository_test.go | 2 years ago | |
review.go | 2 years ago | |
review_test.go | 2 years ago | |
setting.go | 1 year ago | |
template.go | 12 months ago | |
transfer.go | 8 months ago | |
transfer_test.go | 10 months ago |