MCPcopy
hub / github.com/livekit/livekit / Lint

Function Lint

magefile.go:181–186  ·  view source on GitHub ↗

runs golangci-lint

()

Source from the content-addressed store, hash-verified

179
180// runs golangci-lint
181func Lint() error {
182 if _, err := exec.LookPath("golangci-lint"); err != nil {
183 return errors.New("golangci-lint is not installed, install instructions: https://golangci-lint.run/docs/welcome/install/")
184 }
185 return mageutil.Run(context.Background(), "golangci-lint run ./...")
186}
187
188// cleans up builds
189func Clean() {

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected