gitlab.com/greut/eclint@v0.5.2-0.20240402114752-14681fe6e0bf/option.go (about)

     1  package eclint
     2  
     3  import (
     4  	"io"
     5  )
     6  
     7  // Option contains the environment of the program.
     8  //
     9  // When ShowErrorQuantity is 0, it will show all the errors. Use ShowAllErrors false to disable this.
    10  type Option struct {
    11  	IsTerminal        bool
    12  	NoColors          bool
    13  	ShowAllErrors     bool
    14  	Summary           bool
    15  	FixAllErrors      bool
    16  	ShowErrorQuantity int
    17  	Exclude           string
    18  	Stdout            io.Writer
    19  }