github.com/vanstinator/golangci-lint@v0.0.0-20240223191551-cc572f00d9d1/pkg/result/processors/testdata/nolint_whole_file.go (about)

     1  //nolint:errcheck
     2  package testdata
     3  
     4  func RetError() error {
     5  	return nil
     6  }
     7  
     8  func MissedErrorCheck1() {
     9  	RetErr()
    10  }
    11  
    12  func jo(v, w bool) bool {
    13  	return v == w || v == w
    14  }