func WithIgnore(analyzerName string, relFilePath string) AnalyzerProviderOption {
	return func(analyzerProvider *analyzerProvider) {
		relFilePaths, ok := analyzerProvider.ignoreAnalyzerNameToRelFilePaths[analyzerName]
		if !ok {
			relFilePaths = make(map[string]struct{})
			analyzerProvider.ignoreAnalyzerNameToRelFilePaths[analyzerName] = relFilePaths
		}
		relFilePaths[relFilePath] = struct{}{}
	}
}
// WithIgnore will ignore diagnostics for the given file path and analyzer name.
//
// relFilePath should be relative to rootDirPath.
WithIgnore will ignore diagnostics for the given file path and analyzer name.

relFilePath should be relative to rootDirPath.
// WithIgnore will ignore diagnostics for the given file path and analyzer name . // // relFilePath should be relative to rootDirPath .
func WithIgnore(analyzerName string, relFilePath string) AnalyzerProviderOption {
	return func(analyzerProvider *analyzerProvider) {
		relFilePaths, ok := analyzerProvider.ignoreAnalyzerNameToRelFilePaths[analyzerName]
		if !ok {
			relFilePaths = make(map[string]struct{})
			analyzerProvider.ignoreAnalyzerNameToRelFilePaths[analyzerName] = relFilePaths
		}
		relFilePaths[relFilePath] = struct{}{}
	}
}
func WithIgnore ( analyzerName string , relFilePath string ) AnalyzerProviderOption { return func ( analyzerProvider * analyzerProvider ) { relFilePaths , ok := analyzerProvider . ignoreAnalyzerNameToRelFilePaths [ analyzerName ] if ! ok { relFilePaths = make ( map [ string ] struct { } ) analyzerProvider . ignoreAnalyzerNameToRelFilePaths [ analyzerName ] = relFilePaths } relFilePaths [ relFilePath ] = struct { } { } } }
WithIgnore will ignore diagnostics for the given file path and analyzer name.
WithIgnore will ignore diagnostics for the given file path and analyzer name .