mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 21:03:56 +01: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
11 lines
467 B
TOML
11 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$"]
|