mirror of
https://github.com/navidrome/navidrome.git
synced 2026-12-01 09:40:24 +00:00
The nolint gate only looked for new //nolint directives in Go files. A PR could get the same result without any directive, by adding an exclusion rule or disabling a linter in .golangci.yml. The gate now also fails when a PR changes any .golangci.* file, since golangci-lint also reads the .yaml, .toml and .json forms. The allow-nolint label still lets a maintainer approve the change. Signed-off-by: Deluan <deluan@navidrome.org>