mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
f537a98fcd
* Update staticcheck to latest * Add static checks while ignoring for third party / external stuff * Added a hack to keep go mod happy. * disable SA2002 * Pin go mod tidy checker image to golang:1.20-alpine
14 lines
472 B
Go
14 lines
472 B
Go
package main
|
|
|
|
// These Config types are copied from bazelbuild/rules_go.
|
|
// License: Apache 2.0
|
|
// https://github.com/bazelbuild/rules_go/blob/c90a11ad8dc5f3f9d633f0556b22c90af1b01116/go/tools/builders/generate_nogo_main.go#L193
|
|
type Configs map[string]Config
|
|
|
|
type Config struct {
|
|
Description string
|
|
OnlyFiles map[string]string `json:"only_files"`
|
|
ExcludeFiles map[string]string `json:"exclude_files"`
|
|
AnalyzerFlags map[string]string `json:"analyzer_flags"`
|
|
}
|