Showing 405 of 405 total issues
Line should be 120 characters or less: currently 161 characters Open
Open
let url = try URL(resolvingBookmarkData: bookmarkData, options: .withSecurityScope, relativeTo: nil, bookmarkDataIsStale: &staleBookmarkData)
- Exclude checks
Line should be 120 characters or less: currently 161 characters Open
Open
archivePathType = PathManager.userDefaults.archivePathType ?? .local(FileManager.default.documentsDirectoryURL.appendingPathComponent("PDFArchiver"))
- Exclude checks
Line should be 120 characters or less: currently 182 characters Open
Open
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
- Exclude checks
Line should be 120 characters or less: currently 130 characters Open
Open
// we must add the security scope here, because the LocalFolderProvider is not initialized when this functions gets called
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .delete(let deleteDetails):
- Exclude checks
Line should be 120 characters or less: currently 134 characters Open
Open
// guard let sortedDocuments1 = try? sort(documents, by: [filenameSortDescriptor1]) else { XCTFail("Sorting failed!"); return }
- Exclude checks
Line should be 120 characters or less: currently 164 characters Open
Open
// guard let sortedDocuments4 = try? sort(documents, by: [taggingStatusSortDescriptor2, filenameSortDescriptor1]) else { XCTFail("Sorting failed!"); return }
- Exclude checks
Line should be 120 characters or less: currently 161 characters Open
Open
Text("Not synchronized - Your documents are stored in a folder you choose on your computer. PDF Archiver does not initiate synchronization.")
- Exclude checks
Line should be 120 characters or less: currently 126 characters Open
Open
// localizedSubtitle: NSLocalizedString("Start scanning a document", comment: ""),
- Exclude checks
SwiftLint rule 'weak_delegate' did not trigger a violation in the disabled region. Please remove the disable command. Open
Open
// // swiftlint:disable weak_delegate
- Exclude checks
Line should be 120 characters or less: currently 261 characters Open
Open
// let document = Document(path: URL(fileURLWithPath: "~/Downloads/2018-05-12--\(Constants.documentDescriptionPlaceholder)__\(Constants.documentTagPlaceholder).pdf"), taggingStatus: .untagged, downloadStatus: defaultDownloadStatus, byteSize: defaultSize)
- Exclude checks
Line should be 120 characters or less: currently 124 characters Open
Open
let changedMetadataItems = (notification.userInfo?[NSMetadataQueryUpdateChangedItemsKey] as? [NSMetadataItem]) ?? []
- Exclude checks
Type name should only contain alphanumeric characters: 'DetailRowVIew_Previews' Open
Open
struct DetailRowVIew_Previews: PreviewProvider {
- Exclude checks
Line should be 120 characters or less: currently 147 characters Open
Open
return NSLocalizedString("document_failure_reason__date_missing", comment: "No date could be found, e.g. while renaming the document.")
- Exclude checks
Line should be 120 characters or less: currently 182 characters Open
Open
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
- Exclude checks
Line should be 120 characters or less: currently 129 characters Open
Open
NavigationLink(destination: viewModel.view(for: tab.type), tag: tab.type, selection: $viewModel.currentTab) {
- Exclude checks
Line should be 120 characters or less: currently 146 characters Open
Open
try FileManager.default.createDirectory(at: archiveUrl.appendingPathComponent("2020"), withIntermediateDirectories: true, attributes: nil)
- Exclude checks
Variable name should be between 3 and 40 characters long: 'id' Open
Open
let id = UUID()
- Exclude checks
Line should be 120 characters or less: currently 146 characters Open
Open
try FileManager.default.createDirectory(at: archiveUrl.appendingPathComponent("2018"), withIntermediateDirectories: true, attributes: nil)
- Exclude checks
Line should be 120 characters or less: currently 145 characters Open
Open
let selectedTag = information.tagSuggestions.first ?? information.tagSearchterm.lowercased().slugified(withSeparator: "")
- Exclude checks