mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-23 05:56:30 +00:00
Mute linter warning
This commit is contained in:
parent
29c4f578e8
commit
14fc4cdef5
1 changed files with 2 additions and 0 deletions
|
@ -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 }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue