gitea/modules/packages
silverwind 74f0c84fa4
Enable more `revive` linter rules ()
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`.
..
alpine Integrate alpine `noarch` packages into other architectures index ()
cargo Add Cargo package registry ()
chef Add Chef package registry ()
composer Replace `interface{}` with `any` ()
conan Use ErrInvalidArgument in packages ()
conda Use docs.gitea.com instead of docs.gitea.io ()
container Use docs.gitea.com instead of docs.gitea.io ()
cran Add CRAN package registry ()
debian Prevent newline errors with Debian packages ()
goproxy Add Go package registry ()
helm Replace `interface{}` with `any` ()
maven Add support for different Maven POM encoding ()
npm Fix NPM packages name validation ()
nuget Support nuspec manifest download for nuget packages ()
pub Use docs.gitea.com instead of docs.gitea.io ()
pypi Implement FSFE REUSE for golang files ()
rpm Use new RPM constants ()
rubygems Enable more `revive` linter rules ()
swift Add Swift package registry ()
vagrant Implement FSFE REUSE for golang files ()
content_store.go Add direct serving of package content ()
hashed_buffer.go Close all hashed buffers ()
hashed_buffer_test.go Add Debian package registry ()
multi_hasher.go Implement FSFE REUSE for golang files ()
multi_hasher_test.go Replace fmt.Sprintf with hex.EncodeToString ()