gitea/models
silverwind 850012bf5c
Update golangci-lint to v2.6.0 (#35801)
https://github.com/golangci/golangci-lint/releases/tag/v2.6.0

- `modernize` linter is enabled, this is the same as `gopls modernize`
- ~~`perfsprint` linter is disabled because it conflicts with
`modernize` (maybe there is a middle ground)~~
- gocritic `deprecatedComment` is disabled as it conflicts with
`go-swagger`
2025-11-04 03:03:06 +07:00
..
actions Add a doctor command to fix inconsistent run status (#35840) 2025-11-04 03:32:26 +07:00
activities Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
admin Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +07:00
asymkey Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
auth Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +07:00
avatars Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
db Fix various typos in codebase (#35480) 2025-09-13 10:34:43 +07:00
dbfs Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
fixtures Add a doctor command to fix inconsistent run status (#35840) 2025-11-04 03:32:26 +07:00
git Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
issues Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
migrations Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
organization Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +07:00
packages Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
perm Remove unnecessary code and fix comments (#35761) 2025-10-28 18:03:57 +07:00
project Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
pull Fix viewed files number is not right if not all files loaded (#35821) 2025-11-03 13:34:52 +07:00
renderhelper Fix commit message rendering and some UI problems (#34680) 2025-06-10 23:20:32 +07:00
repo Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +07:00
secret Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +07:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +07:00
system Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
unit Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +07:00
unittest Refactor db package (#35380) 2025-08-30 01:04:06 +07:00
user Update golangci-lint to v2.6.0 (#35801) 2025-11-04 03:03:06 +07:00
webhook Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +07:00
repo.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00