github.com/chenfeining/golangci-lint@v1.0.2-0.20230730162517-14c6c67868df/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  }