Mute linter warning

This commit is contained in:
Justin Mazzocchi 2020-08-29 23:49:32 -07:00
parent 29c4f578e8
commit 14fc4cdef5
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -33,7 +33,9 @@ extension Filter {
} }
extension Array where Element == Filter { extension Array where Element == Filter {
// swiftlint:disable line_length
// Adapted from https://github.com/tootsuite/mastodon/blob/bf477cee9f31036ebf3d164ddec1cebef5375513/app/javascript/mastodon/selectors/index.js#L43 // Adapted from https://github.com/tootsuite/mastodon/blob/bf477cee9f31036ebf3d164ddec1cebef5375513/app/javascript/mastodon/selectors/index.js#L43
// swiftlint:enable line_length
func regularExpression() -> String? { func regularExpression() -> String? {
guard !isEmpty else { return nil } guard !isEmpty else { return nil }