Showing 405 of 405 total issues
Line should be 120 characters or less: currently 124 characters Open
Open
let creatorAttribute = try XCTUnwrap(document.documentAttributes?[PDFDocumentAttribute.creatorAttribute] as? String)
- Exclude checks
Line should be 120 characters or less: currently 123 characters Open
Open
Logger.pdfDropHandler.errorAndAssert("Failed to get imported url", metadata: ["error": "\(error)"])
- Exclude checks
Function parameters should be aligned vertically if they're in multiple lines in a declaration. Open
Open
function: StaticString = #function,
- Exclude checks
Variable name should be between 3 and 40 characters long: 'id' Open
Open
private(set) var id: String = ""
- Exclude checks
Line should be 120 characters or less: currently 181 characters Open
Open
Logger.archiveStore.debug("Updating document", metadata: ["specification": foundDocument.specification, "downloadStatus": "\(foundDocument.downloadStatus)"])
- Exclude checks
Line should be 120 characters or less: currently 129 characters Open
Open
text: NSLocalizedString("intro.subscription.description", comment: "Intro: Subscription Description"))
- Exclude checks
Variable name should be between 3 and 40 characters long: 'id' Open
Open
init(id: String, url: URL, isTagged: Bool, filename: String, sizeInBytes: Double, date: Date, specification: String, tags: [String], content: String, downloadStatus: Double) {
- Exclude checks
Line should be 120 characters or less: currently 129 characters Open
Open
// Check if it is a local document. These two values are possible for the "NSMetadataUbiquitousItemDownloadingStatusKey":
- Exclude checks
Line should be 120 characters or less: currently 128 characters Open
Open
add(XCTAttachment(uniformTypeIdentifier: "image/png", name: "left image", payload: dataLeft, userInfo: nil))
- Exclude checks
Line should be 120 characters or less: currently 143 characters Open
Open
XCTAssertNoThrow(try FileManager.default.createDirectory(at: currentArchiveFolder, withIntermediateDirectories: true, attributes: nil))
- Exclude checks
Variable name should be between 3 and 40 characters long: 'id' Open
Open
guard let id = details.url.uniqueId() else {
- Exclude checks
Line should be 120 characters or less: currently 121 characters Open
Open
onboardSet.newCard(title: "Participate", image: "tag-1", text: "Engage with others online. Join the community.")
- Exclude checks
Line should be 120 characters or less: currently 150 characters Open
Open
// "Apple warns you not to use the model executor to access the model context. Instead you should use the modelContext property of the actor."
- Exclude checks
Line should be 120 characters or less: currently 161 characters Open
Open
return NSLocalizedString("document_failure_reason__description_missing", comment: "No description could be found, e.g. while renaming the document.")
- Exclude checks
Line should be 120 characters or less: currently 130 characters Open
Open
// https://github.com/malt03/SwiftString/blob/0aeb47cbfa77cf8552bbadf49360ef529fbb8c03/Sources/StringExtensions.swift#L194
- Exclude checks
Line should be 120 characters or less: currently 128 characters Open
Open
// /private/var/mobile/Containers/Data/Application/8F70A72B-026D-4F6B-98E8-2C6ACE940133/Documents/untagged/document1.pdf
- Exclude checks
Line should be 120 characters or less: currently 121 characters Open
Open
ForEach(tags.filter { !$0.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty }, id: \.self) { tagName in
- Exclude checks
Line should be 120 characters or less: currently 163 characters Open
Open
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
- Exclude checks
Variable name should only contain alphanumeric characters: '_sizeInBytes' Open
Open
var _sizeInBytes: Double
- Exclude checks
Function parameters should be aligned vertically if they're in multiple lines in a declaration. Open
Open
file: StaticString = #file,
- Exclude checks