Files
SwiftLint/Source/SwiftLintFramework/Models/ConfigurationError.swift
T
JP Simard 82e5870a16 Don't log a warning if no configuration files were explicitly specified
And none was found at the default location of `.swiftlint.yml`.
2020-12-09 16:16:04 -05:00

15 lines
503 B
Swift

/// All possible configuration errors.
public enum ConfigurationError: Error, Equatable {
/// The configuration didn't match internal expectations.
case unknownConfiguration
/// The configuration had both `match_kind` and `excluded_match_kind` parameters.
case ambiguousMatchKindParameters
/// A generic configuration error specified by a string.
case generic(String)
/// An error for a configuration file that was not found on disk.
case fileNotFound(path: String)
}