Fix various SwiftLint warnings.

This commit is contained in:
Brent Simmons committed 2026-01-02 10:17:41 -08:00
1 parent dbaa8142e1
commit 36956c0345
32 files changed
+149 -134

No files matched your search

+3 -3
View File
@@ -48,7 +48,7 @@ import Articles
return self.classDescription as! NSScriptClassDescription
}
func deleteElement(_ element:ScriptingObject) {
func deleteElement(_ element: ScriptingObject) {
print ("delete event not handled")
}
@@ -117,7 +117,7 @@ import Articles
@objc(starred)
var starred: Bool {
get {
article.status.boolStatus(forKey:.starred)
article.status.boolStatus(forKey: .starred)
}
set {
markArticles([self.article], statusKey: .starred, flag: newValue)
@@ -137,7 +137,7 @@ import Articles
@objc(authors)
var authors: NSArray {
let articleAuthors = article.authors ?? []
return articleAuthors.map { ScriptableAuthor($0, container:self) } as NSArray
return articleAuthors.map { ScriptableAuthor($0, container: self) } as NSArray
}
@objc(feed)