Remove deprecation warning in `identifier_name` rule

It was introduced 6 years ago.
This commit is contained in:
Danny Mösch 2023-05-06 22:59:15 +02:00
parent 1fa8e484c4
commit 8d5700afca
1 changed files with 0 additions and 4 deletions

View File

@ -65,10 +65,6 @@ struct NameConfiguration: RuleConfiguration, Equatable {
if let validatesStartWithLowercase = configurationDict["validates_start_with_lowercase"] as? Bool {
self.validatesStartWithLowercase = validatesStartWithLowercase
} else if let validatesStartWithLowercase = configurationDict["validates_start_lowercase"] as? Bool {
self.validatesStartWithLowercase = validatesStartWithLowercase
queuedPrintError("warning: \"validates_start_lowercase\" configuration was renamed to " +
"\"validates_start_with_lowercase\" and will be removed in a future release.")
}
}
}