gitea/modules/process
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`.
..
context.go Replace `interface{}` with `any` ()
error.go Implement FSFE REUSE for golang files ()
manager.go Less naked returns ()
manager_exec.go Implement FSFE REUSE for golang files ()
manager_stacktraces.go Enable more `revive` linter rules ()
manager_test.go Replace assert.Fail with assert.FailNow ()
manager_unix.go Implement FSFE REUSE for golang files ()
manager_windows.go Implement FSFE REUSE for golang files ()
process.go Implement FSFE REUSE for golang files ()