63 Commits (main)

Author SHA1 Message Date
silverwind 84b74d7c3e
Enable `bodyclose` linter (#36168) 1 day ago
silverwind ff70ed6c67
Enable gocheckcompilerdirectives linter (#36156) 3 days ago
silverwind b54af8811e
Replace `lint-go-gopls` with additional `govet` linters (#36028) 3 weeks ago
silverwind 850012bf5c
Update golangci-lint to v2.6.0 (#35801) 1 month ago
silverwind e03a68c48b
Misc tool tweaks (#35734) 2 months ago
silverwind 95a935aca0
Enable gocritic `equalFold` and fix issues (#34952) 5 months ago
TheFox0x7 aa9d86745a
enforce explanation for necessary nolints and fix bugs (#34883) 6 months ago
TheFox0x7 eb36a4554e
enforce nolint scope (#34851) 6 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
TheFox0x7 2a59dfbd47
enable staticcheck QFxxxx rules (#34064) 9 months ago
TheFox0x7 5564c39105
update to golangci-lint v2 (#34054) 9 months ago
wxiaoguang 3ee5ee2029
Upgrade golangci-lint to v1.64.5 (#33654) 10 months ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
silverwind fc2d75f86d
Enable `unparam` linter (#31277) 2 years ago
silverwind 028992429a
Clean up revive linter config, tweak golangci output (#30980) 2 years ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 2 years ago
wxiaoguang c248f010ad
Refactor cache and disable go-chi cache (#30417) 2 years ago
silverwind e6d3f9fc07
Upgrade golangci-lint to v1.57.2 (#30401) 2 years ago
silverwind 2e6af43a06
Remove go versions from .golangci.yml (#27953) 2 years ago
Chongyi Zheng 3507cad6f5
Use Go 1.21 for golangci-lint (#26786) 2 years ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
wxiaoguang de4a21fcb4
Refactor INI package (first step) (#25024) 3 years ago
silverwind 47748df9b3
Enable forbidigo linter (#24278) 3 years ago
silverwind 8dc6eabbc0
Update go tool dependencies, restructure lint targets (#24239) 3 years ago
silverwind 938b591994
Remove most path-based golangci exclusions (#24214) 3 years ago
zeripath 2152c4e98f
Fix .golangci.yml (#22868) 3 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 3 years ago
techknowlogick cfb1cb1168
update to build with go1.20 (#22732) 3 years ago
Jason Song c86be819bb
Add more packages to denylist (#22412) 3 years ago
silverwind 0585ac3ac6
Update go dev dependencies (#22064) 3 years ago
silverwind 0647df3e83
Simplify fmt-check (#21458) 3 years ago
silverwind 399514453e
Configure golangci-lint to show all issues (#21106) 3 years ago
techknowlogick d8e6c99125
Add badge capabilities to users (#20607) 3 years ago
techknowlogick be824890e4
Switch to building with go1.19 (#20695) 3 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 4 years ago
silverwind 318f360252
Update go tool dependencies (#19676) 4 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 4 years ago
Sasha Melentyev c604c9ae66
Add 1.18 (#19151) 4 years ago
techknowlogick ed1d95c55d
use go1.18 to build gitea (#19099) 4 years ago
silverwind fe9626af29
Use `go run` for tool dependencies, require go 1.17 (#18874) 4 years ago
silverwind 2ddff74a54
Reduce CI go module downloads, add make targets (#18708) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
Bo-Yi Wu 948949f429
chore(lint): use golangci-lint to call revive and misspell checker. (#18145) 4 years ago
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 4 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 4 years ago
Gusted adda27668b
Enable bidichk (#17610) 4 years ago
Gusted a4dc0c5a82
Remove `golint` as linter (#17609) 4 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 4 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 5 years ago