github.com/elek/golangci-lint@v1.42.2-0.20211208090441-c05b7fcb3a9a/pkg/config/run.go (about) 1 package config 2 3 import "time" 4 5 type Run struct { 6 IsVerbose bool `mapstructure:"verbose"` 7 Silent bool 8 CPUProfilePath string 9 MemProfilePath string 10 TracePath string 11 Concurrency int 12 PrintResourcesUsage bool `mapstructure:"print-resources-usage"` 13 14 Config string 15 NoConfig bool 16 17 Args []string 18 19 BuildTags []string `mapstructure:"build-tags"` 20 ModulesDownloadMode string `mapstructure:"modules-download-mode"` 21 22 ExitCodeIfIssuesFound int `mapstructure:"issues-exit-code"` 23 AnalyzeTests bool `mapstructure:"tests"` 24 25 // Deprecated: Deadline exists for historical compatibility 26 // and should not be used. To set run timeout use Timeout instead. 27 Deadline time.Duration 28 Timeout time.Duration 29 30 PrintVersion bool 31 SkipFiles []string `mapstructure:"skip-files"` 32 SkipDirs []string `mapstructure:"skip-dirs"` 33 UseDefaultSkipDirs bool `mapstructure:"skip-dirs-use-default"` 34 35 AllowParallelRunners bool `mapstructure:"allow-parallel-runners"` 36 AllowSerialRunners bool `mapstructure:"allow-serial-runners"` 37 }