I have a logging method that will inevitably be called with a parameter that violates the hardcoded_string rule of SwiftLint:
Logger.log("This will be a hardcoded string usually")
I am aware that I can use swiftlint:disable:next each time, but is it possible to specify in the Logger class definition that swiftlint should just always ignore this particular parameter? Something like:
/// Implementation of Logger
/// Logs a message
/// - Parameter messsage: The message to log swiftlint:disable hardcoded_string
func log(_ message: String) { ... }