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.
gitea/modules
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`.
1 month ago
..
actions Fix some pending problems (#29985) 2 months ago
activitypub Upgrade to golangci-lint@v1.55.0 (#27756) 7 months ago
analyze Rename code_langauge.go to code_language.go (#26377) 10 months ago
assetfs Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 9 months ago
auth Enable more `revive` linter rules (#30608) 1 month ago
avatar Use `crypto/sha256` (#29386) 3 months ago
badge Implement actions badge svgs (#28102) 3 months ago
base Refactor StringsToInt64s (#29967) 2 months ago
cache Refactor cache and disable go-chi cache (#30417) 2 months ago
charset Render embedded code preview by permlink in markdown (#30234) 2 months ago
container Add container.FilterSlice function (#30339) 2 months ago
csv Render embedded code preview by permlink in markdown (#30234) 2 months ago
dump Refactor "dump" sub-command (#30240) 2 months ago
emoji Update emoji set to Unicode 15 (#25595) 11 months ago
eventsource Final round of `db.DefaultContext` refactor (#27587) 8 months ago
generate Refactor JWT secret generating & decoding code (#29172) 4 months ago
git Enable more `revive` linter rules (#30608) 1 month ago
gitgraph More `db.DefaultContext` refactor (#27265) 8 months ago
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 3 months ago
graceful Remove unused error in graceful manager (#29871) 3 months ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 1 year ago
highlight Add option to disable ambiguous unicode characters detection (#28454) 6 months ago
hostmatcher Support allowed hosts for webhook to work with proxy (#27655) 8 months ago
html Refactor backend SVG package and add tests (#26335) 10 months ago
httpcache Also match weakly validated ETags (#28957) 4 months ago
httplib Refactor external URL detection (#29973) 2 months ago
indexer Enable more `revive` linter rules (#30608) 1 month ago
issue/template Extend issue template yaml engine (#29274) 3 months ago
json Replace `interface{}` with `any` (#25686) 11 months ago
label Make label templates have consistent behavior and priority (#23749) 1 year ago
lfs fix: close file in the Upload func (#30262) 2 months ago
log Enable more `revive` linter rules (#30608) 1 month ago
markup Enable more `revive` linter rules (#30608) 1 month ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Reduce usage of `db.DefaultContext` (#27073) 9 months ago
migration Refactor locale&string&template related code (#29165) 4 months ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 11 months ago
optional Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 2 months ago
options Use a general approach to access custom/static/builtin assets (#24022) 1 year ago
packages Enable more `revive` linter rules (#30608) 1 month ago
paginator Use more specific test methods (#24265) 1 year ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Performance optimization for git push (#30104) 2 months ago
process Enable more `revive` linter rules (#30608) 1 month ago
proxy Use proxy for pull mirror (#22771) 1 year ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Refactor CORS handler (#28587) 5 months ago
queue Mock queue backoff duration (#30553) 1 month ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Fix issue link does not support quotes (#29484) (#29487) 3 months ago
regexplru Upgrade go dependencies (#25819) 11 months ago
repository Enable more `revive` linter rules (#30608) 1 month ago
secret Use `crypto/sha256` (#29386) 3 months ago
session Avoid importing `modules/web/middleware` in `modules/session` (#30584) 1 month ago
setting Enable more `revive` linter rules (#30608) 1 month ago
sitemap Fix sitemap (#22272) 1 year ago
ssh Remove SSH workaround (#27893) 7 months ago
storage Fix object storage path handling (#27024) 9 months ago
structs Update API to return 'source_id' for users (#29718) 2 months ago
svg Refactor markdown attention render (#29984) 2 months ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Replace more db.DefaultContext (#27628) 8 months ago
templates Enable more `revive` linter rules (#30608) 1 month ago
test Move web/api context related testing function into a separate package (#26859) 9 months ago
testlogger Replace `interface{}` with `any` (#25686) 11 months ago
timeutil Refactor "dump" sub-command (#30240) 2 months ago
translation Render embedded code preview by permlink in markdown (#30234) 2 months ago
turnstile Add new captcha: cloudflare turnstile (#22369) 1 year ago
typesniffer Detect ogg mime-type as audio or video (#26494) 10 months ago
updatechecker Replace more db.DefaultContext (#27628) 8 months ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
util Enable more `revive` linter rules (#30608) 1 month ago
validation Check blocklist for emails when adding them to account (#26812) 9 months ago
web Use maintained gziphandler (#30592) 1 month ago
webhook Fix schedule tasks bugs (#28691) 5 months ago