mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
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:
parent
5bad7becd8
commit
2d6f67da4a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ linters-settings:
|
|||
- ruleguard
|
||||
settings:
|
||||
ruleguard:
|
||||
rules: "./tools/ci/rules.go"
|
||||
rules: "${configDir}/tools/ci/rules.go"
|
||||
failOn: all
|
||||
|
||||
gofmt:
|
||||
|
|
|
|||
Loading…
Reference in a new issue