Updated golangci config to work in JetBrains IDE. (#32768)

The special variable `configDir` is the directory of .golangci.yml

We are using v1 right now. When we upgrade to v2, `configDir` changes to
`base-path`
This commit is contained in:
Victor Lyuboslavsky 2025-09-09 13:50:47 -05:00 committed by GitHub
parent 5bad7becd8
commit 2d6f67da4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ linters-settings:
- ruleguard
settings:
ruleguard:
rules: "./tools/ci/rules.go"
rules: "${configDir}/tools/ci/rules.go"
failOn: all
gofmt: