func CheckMultiple(linters []Linter, dirPathToDescriptors map[string][]*FileDescriptor, ignoreIDToFilePaths map[string][]string) ([]*text.Failure, error) {
	var allFailures []*text.Failure
	for dirPath, descriptors := range dirPathToDescriptors {
		for _, linter := range linters {
			failures, err := checkOne(linter, dirPath, descriptors, ignoreIDToFilePaths)
			if err != nil {
				return nil, err
			}
			allFailures = append(allFailures, failures...)
		}
	}
	text.SortFailures(allFailures)
	return allFailures, nil
}
// CheckMultiple is a convenience function that checks multiple linters and multiple descriptors.
CheckMultiple is a convenience function that checks multiple linters and multiple descriptors.
// CheckMultiple is a convenience function that checks multiple linters and multiple descriptors .
func CheckMultiple(linters []Linter, dirPathToDescriptors map[string][]*FileDescriptor, ignoreIDToFilePaths map[string][]string) ([]*text.Failure, error) {
	var allFailures []*text.Failure
	for dirPath, descriptors := range dirPathToDescriptors {
		for _, linter := range linters {
			failures, err := checkOne(linter, dirPath, descriptors, ignoreIDToFilePaths)
			if err != nil {
				return nil, err
			}
			allFailures = append(allFailures, failures...)
		}
	}
	text.SortFailures(allFailures)
	return allFailures, nil
}
func CheckMultiple ( linters [ ] Linter , dirPathToDescriptors map [ string ] [ ] * FileDescriptor , ignoreIDToFilePaths map [ string ] [ ] string ) ( [ ] * text . Failure , error ) { var allFailures [ ] * text . Failure for dirPath , descriptors := range dirPathToDescriptors { for _ , linter := range linters { failures , err := checkOne ( linter , dirPath , descriptors , ignoreIDToFilePaths ) if err != nil { return nil , err } allFailures = append ( allFailures , failures ... ) } } text . SortFailures ( allFailures ) return allFailures , nil }
CheckMultiple is a convenience function that checks multiple linters and multiple descriptors.
CheckMultiple is a convenience function that checks multiple linters and multiple descriptors .