0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-11 04:21:21 +01:00
gitea/modules/indexer/code
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
..
bleve Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
elasticsearch Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) 2024-03-16 10:32:45 +00:00
internal Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) 2024-03-16 10:32:45 +00:00
git.go Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) 2024-03-16 10:32:45 +00:00
indexer.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
indexer_test.go Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) 2024-03-16 10:32:45 +00:00
search.go Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00