 db80e16aba
			
		
	
	
		db80e16aba
		
			
		
	
	
	
	
		
			
			* split config section into files. * extract anonymous types. * sort linters alphabetically.
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| package config
 | |
| 
 | |
| import "time"
 | |
| 
 | |
| type Run struct {
 | |
| 	IsVerbose           bool `mapstructure:"verbose"`
 | |
| 	Silent              bool
 | |
| 	CPUProfilePath      string
 | |
| 	MemProfilePath      string
 | |
| 	TracePath           string
 | |
| 	Concurrency         int
 | |
| 	PrintResourcesUsage bool `mapstructure:"print-resources-usage"`
 | |
| 
 | |
| 	Config   string
 | |
| 	NoConfig bool
 | |
| 
 | |
| 	Args []string
 | |
| 
 | |
| 	BuildTags           []string `mapstructure:"build-tags"`
 | |
| 	ModulesDownloadMode string   `mapstructure:"modules-download-mode"`
 | |
| 
 | |
| 	ExitCodeIfIssuesFound int  `mapstructure:"issues-exit-code"`
 | |
| 	AnalyzeTests          bool `mapstructure:"tests"`
 | |
| 
 | |
| 	// Deprecated: Deadline exists for historical compatibility
 | |
| 	// and should not be used. To set run timeout use Timeout instead.
 | |
| 	Deadline time.Duration
 | |
| 	Timeout  time.Duration
 | |
| 
 | |
| 	PrintVersion       bool
 | |
| 	SkipFiles          []string `mapstructure:"skip-files"`
 | |
| 	SkipDirs           []string `mapstructure:"skip-dirs"`
 | |
| 	UseDefaultSkipDirs bool     `mapstructure:"skip-dirs-use-default"`
 | |
| 
 | |
| 	AllowParallelRunners bool `mapstructure:"allow-parallel-runners"`
 | |
| 	AllowSerialRunners   bool `mapstructure:"allow-serial-runners"`
 | |
| }
 |