Enable SwiftLint rule 'identifier_name' and handle all violations

This commit is contained in:
Danny Moesch 2020-09-20 15:07:18 +02:00 committed by Mingshen Sun
parent 7ada4dd96d
commit e8389eb262
21 changed files with 157 additions and 156 deletions

View file

@ -49,11 +49,11 @@ func assertDefaults(
}
infix operator : AdditionPrecedence
func (field: AdditionField, password: Password) -> Bool {
func (field: AdditionField, password: Password) -> Bool { // swiftlint:disable:this identifier_name
password.getFilteredAdditions().contains(field)
}
infix operator : AdditionPrecedence
func (field: AdditionField, password: Password) -> Bool {
func (field: AdditionField, password: Password) -> Bool { // swiftlint:disable:this identifier_name
!(field password)
}