forked from nextcloud/ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
157 lines (146 loc) · 5.94 KB
/
.swiftlint.yml
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
147
148
149
150
151
152
153
154
155
156
157
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: 400
error: 5000
function_body_length:
warning: 400
type_body_length:
warning: 800
error: 1000
file_length:
warning: 1000
error: 1500
ignore_comment_only_lines: true
identifier_name:
min_length: 0
disabled_rules:
- unused_setter_value
- large_tuple
- function_parameter_count
- multiple_closures_with_trailing_closure
- for_where
- cyclomatic_complexity
- nesting
- shorthand_operator
- type_name
excluded:
- Carthage
- Pods
- Tests
# iOS Files Quarantine
- Brand/NCBrand.swift
- 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/GUI
- iOSClient/ExternalResources
- iOSClient/Activity/NCActivity.swift
- iOSClient/Activity/NCActivityTableViewCell.swift
- iOSClient/AppDelegate.swift
- iOSClient/BackgroundImageColor/NCBackgroundImageColor.swift
- iOSClient/BrowserWeb/NCBrowserWeb.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/E2EE/NCNetworkingE2EE.swift
- iOSClient/Networking/E2EE/NCNetworkingE2EEUpload.swift
- iOSClient/Networking/E2EE/NCNetworkingE2EEDelete.swift
- iOSClient/Networking/E2EE/NCNetworkingE2EERename.swift
- iOSClient/Networking/E2EE/NCNetworkingE2EECreateFolder.swift
- iOSClient/Networking/NCNetworkingProcessUpload.swift
- iOSClient/Networking/NCOperationQueue.swift
- iOSClient/Networking/NCService.swift
- iOSClient/Networking/NCConfigServer.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/Settings/NCManageE2EE.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"