1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-29 10:28:24 +00:00

Misc tool tweaks (#35734)

Some minor tooling tweaks:

- Ignore .venv in golangci-lint
- Move go tools to tools directory (e.g. everything that is not "build")
- Enable reportUnusedInlineConfigs in eslint, no current violations
- Apply modernize fix in code-batch-process, modernize cli did
apparently not catch it because of the `go:build ignore` tag.
This commit is contained in:
silverwind
2025-10-23 11:07:39 +02:00
committed by GitHub
parent cab35ff17a
commit e03a68c48b
7 changed files with 9 additions and 14 deletions

View File

@@ -49,6 +49,7 @@ export default defineConfig([
},
linterOptions: {
reportUnusedDisableDirectives: 2,
reportUnusedInlineConfigs: 2,
},
plugins: {
'@eslint-community/eslint-comments': comments,