gitea/services/markup
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`.
2024-04-22 11:48:42 +00:00
..
main_test.go Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00
processorhelper.go Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00
processorhelper_codepreview.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
processorhelper_codepreview_test.go Fix code block style for code preview (#30298) 2024-04-06 20:07:08 +08:00
processorhelper_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00