mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:49:22 +00:00
8dc6eabbc0
- Update all tool dependencies to latest tag - Remove unused errcheck, it is part of golangci-lint - Include main.go in air - Enable wastedassign again now that it's [generics-compatible](https://github.com/golangci/golangci-lint/pull/3689) - Restructured lint targets to new `lint-*` namespace
12 lines
467 B
TOML
12 lines
467 B
TOML
root = "."
|
|
tmp_dir = ".air"
|
|
|
|
[build]
|
|
cmd = "make backend"
|
|
bin = "gitea"
|
|
include_ext = ["go", "tmpl"]
|
|
include_file = ["main.go"]
|
|
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
|
|
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata", "models/fixtures", "models/migrations/fixtures", "modules/migration/file_format_testdata", "modules/avatar/identicon/testdata"]
|
|
exclude_regex = ["_test.go$", "_gen.go$"]
|