Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.swiftlint.yml - github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc78a39d703af7f8bcb9ce8c917f58090c01f077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
opt_in_rules: # some rules are turned off by default, so you need to opt-in
  - empty_collection_literal
  - empty_count
  - empty_string
  - explicit_init
  - unneeded_parentheses_in_closure_argument
  - operator_usage_whitespace

empty_count:
  severity: warning

line_length:
  # warning: 120, error: 200
  warning: 250
  error: 250

function_body_length:
  # warning: 40
  warning: 60

type_body_length:
  # error: 350
  error: 500

identifier_name:
  min_length: 0
  
disabled_rules:  
 - unused_setter_value

excluded:
  - Carthage
  - Pods

  # iOS Files Quarantine
  - File Provider Extension/FileProviderData.swift
  - File Provider Extension/FileProviderDomain.swift
  - File Provider Extension/FileProviderEnumerator.swift
  - File Provider Extension/FileProviderExtension+Actions.swift
  - File Provider Extension/FileProviderExtension+Thumbnail.swift
  - File Provider Extension/FileProviderExtension.swift
  - File Provider Extension/FileProviderUtility.swift
  - Notification Service Extension/NotificationService.swift
  - Widget/Widget.swift
  - Widget/Dashboard/DashboardData.swift
  - Widget/Dashboard/DashboardWidgetView.swift
  - Widget/Files/FilesData.swift
  - Widget/Files/FilesWidgetView.swift
  - Widget/Lockscreen/LockscreenData.swift
  - Widget/Lockscreen/LockscreenWidgetView.swift
  - Widget/Lockscreen/LockscreenWidgetProvider.swift
  - iOSClient/Activity/NCActivity.swift
  - iOSClient/Activity/NCActivityTableViewCell.swift
  - iOSClient/AppDelegate.swift
  - iOSClient/BackgroundImageColor/NCBackgroundImageColor.swift
  - iOSClient/Brand/Intro/NCIntroViewController.swift
  - iOSClient/Brand/NCBrand.swift
  - iOSClient/BrowserWeb/NCBrowserWeb.swift
  - iOSClient/Data/NCDataSource.swift
  - iOSClient/Data/NCDatabase.swift
  - iOSClient/Data/NCElementsJSON.swift
  - iOSClient/Data/NCManageDatabase+Account.swift
  - iOSClient/Data/NCManageDatabase+Activity.swift
  - iOSClient/Data/NCManageDatabase.swift
  - iOSClient/Data/NCManageDatabase+Metadata.swift
  - iOSClient/Data/NCManageDatabase+Video.swift
  - iOSClient/Data/NCManageDatabase+DashboardWidget.swift
  - iOSClient/Diagnostics/NCCapabilitiesViewController.swift
  - iOSClient/EmptyView/NCEmptyDataSet.swift
  - iOSClient/Extensions/UIColor+Extensions.swift
  - iOSClient/Extensions/UIImage+Extensions.swift
  - iOSClient/FileViewInFolder/NCFileViewInFolder.swift
  - iOSClient/Login/NCAppConfigView.swift
  - iOSClient/Login/NCLogin.swift
  - iOSClient/Login/NCLoginWeb.swift
  - iOSClient/Main/Account Request/NCAccountRequest.swift
  - iOSClient/Main/AudioRecorder/NCAudioRecorderViewController.swift
  - iOSClient/Main/Collection Common/NCCollectionViewCommon.swift
  - iOSClient/Main/Collection Common/NCGridCell.swift
  - iOSClient/Main/Collection Common/NCListCell.swift
  - iOSClient/Main/Create cloud/NCCreateFormUploadAssets.swift
  - iOSClient/Main/Create cloud/NCCreateFormUploadConflict.swift
  - iOSClient/Main/Create cloud/NCCreateFormUploadConflictCell.swift
  - iOSClient/Main/Create cloud/NCCreateFormUploadDocuments.swift
  - iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift
  - iOSClient/Main/Create cloud/NCCreateFormUploadVoiceNote.swift
  - iOSClient/Main/Create cloud/NCCreateMenuAdd.swift
  - iOSClient/Main/NCFunctionCenter.swift
  - iOSClient/Main/NCMainTabBar.swift
  - iOSClient/Main/NCPickerViewController.swift
  - iOSClient/Main/Section Header Footer/NCSectionHeaderFooter.swift
  - iOSClient/Media/Cell/NCGridMediaCell.swift
  - iOSClient/Media/NCMedia.swift
  - iOSClient/Menu/AppDelegate+Menu.swift
  - iOSClient/Menu/NCCollectionViewCommon+Menu.swift
  - iOSClient/Menu/NCLoginWeb+Menu.swift
  - iOSClient/Menu/NCMedia+Menu.swift
  - iOSClient/Menu/NCSortMenu.swift
  - iOSClient/Menu/NCViewer+Menu.swift
  - iOSClient/More/NCMore.swift
  - iOSClient/NCGlobal.swift
  - iOSClient/Networking/NCAutoUpload.swift
  - iOSClient/Networking/NCNetworking.swift
  - iOSClient/Networking/NCNetworkingCheckRemoteUser.swift
  - iOSClient/Networking/NCNetworkingChunkedUpload.swift
  - iOSClient/Networking/NCNetworkingE2EE.swift
  - iOSClient/Networking/NCNetworkingProcessUpload.swift
  - iOSClient/Networking/NCOperationQueue.swift
  - iOSClient/Networking/NCService.swift
  - iOSClient/Notification/NCNotification.swift
  - iOSClient/Recent/NCRecent.swift
  - iOSClient/Rename file/NCRenameFile.swift
  - iOSClient/RichWorkspace/NCRichWorkspaceCommon.swift
  - iOSClient/RichWorkspace/NCViewerRichWorkspace.swift
  - iOSClient/ScanDocument/ScanCollectionView.swift
  - iOSClient/Security/NCEndToEndMetadata.swift
  - iOSClient/Security/NCViewCertificateDetails.swift
  - iOSClient/Select/NCSelect.swift
  - iOSClient/Settings/NCEndToEndInitialize.swift
  - iOSClient/Settings/NCManageAutoUploadFileName.swift
  - iOSClient/Share/NCShareCommon.swift
  - iOSClient/Share/NCShareNetworking.swift
  - iOSClient/Shares/NCShares.swift
  - iOSClient/Transfers/NCTransferCell.swift
  - iOSClient/Transfers/NCTransfers.swift
  - iOSClient/UserStatus/NCUserStatus.swift
  - iOSClient/Utility/NCAskAuthorization.swift
  - iOSClient/Utility/NCContentPresenter.swift
  - iOSClient/Utility/NCLivePhoto.swift
  - iOSClient/Utility/NCPopupViewController.swift
  - iOSClient/Utility/NCStoreReview.swift
  - iOSClient/Utility/NCUtility.swift
  - iOSClient/Utility/NCUtilityFileSystem.swift
  - iOSClient/Utility/NCUtilityGUI.swift
  - iOSClient/Viewer/NCViewer.swift
  - iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift
  - iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayerToolBar.swift
  - iOSClient/Viewer/NCViewerMedia/NCViewerMedia.swift
  - iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift
  - iOSClient/Viewer/NCViewerNextcloudText/NCViewerNextcloudText.swift
  - iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift
  - iOSClient/Viewer/NCViewerPDF/NCViewerPDFSearch.swift
  - iOSClient/Viewer/NCViewerProviderContextMenu.swift
  - iOSClient/Viewer/NCViewerRichdocument/NCViewerRichdocument.swift

reporter: "xcode"