Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Colon Spacing" rule name update #3583

Merged
merged 2 commits into from May 21, 2021
Merged

"Colon Spacing" rule name update #3583

merged 2 commits into from May 21, 2021

Conversation

ghost
Copy link

@ghost ghost commented Mar 26, 2021

Why?

The way SwiftLint was assembling some strings resulted in phrasing that... wasn't great:
image

How?

  • Changed the rule name from "Colon" to "Colon Spacing"
  • Updated tests

@SwiftLintBot
Copy link

SwiftLintBot commented Mar 26, 2021

675 Warnings
⚠️ This PR introduced a violation in Firefox: /Account/FxAPushMessageHandler.swift:147:32: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Account/SyncAuthState.swift:32:16: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Application/AppDelegate.swift:662:92: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Application/QuickActions.swift:66:40: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Application/TestAppDelegate.swift:120:122: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/BottomSheet/BottomSheetViewController.swift:112:76: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/SavedTab.swift:17:9: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/SearchViewController.swift:515:58: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/SearchViewController.swift:516:61: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/URLBarView.swift:916:46: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/UserScriptManager.swift:15:39: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Browser/UserScriptManager.swift:21:35: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Settings/AdvancedAccountSettingViewController.swift:93:63: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Update/UpdateModel.swift:20:9: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Update/UpdateViewController.swift:39:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Update/UpdateViewController.swift:71:9: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Update/UpdateViewModel.swift:35:134: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Client/Frontend/Widgets/PhotonActionSheet/PhotonActionSheet.swift:208:87: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /ClientTests/BreachAlertsTests.swift:31:60: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /ClientTests/BreachAlertsTests.swift:32:58: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /ClientTests/ETPCoverSheet/ETPCoverSheetTests.swift:26:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /ClientTests/ETPCoverSheet/ETPCoverSheetTests.swift:39:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /ClientTests/NavigationRouterTests.swift:15:43: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:184:48: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:189:48: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:251:48: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:285:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:286:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:303:53: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:304:50: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:311:53: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:320:53: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:335:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:336:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:352:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:353:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:362:49: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:379:53: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:380:50: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:395:53: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:396:50: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:408:49: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:420:49: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:421:50: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:435:49: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:436:50: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Storage/Cursor.swift:92:12: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Storage/ThirdParty/SwiftData.swift:42:14: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /Storage/ThirdParty/SwiftData.swift:473:36: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /StorageTests/TestBrowserDB.swift:139:46: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /StorageTests/TestBrowserDB.swift:140:26: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /StorageTests/TestBrowserDB.swift:156:75: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /StorageTests/TestBrowserDB.swift:168:97: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SyncTests/MetaGlobalTests.swift:20:30: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SyncTests/MockSyncServer.swift:102:97: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /SyncTests/MockSyncServer.swift:173:28: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /ThirdParty/Reachability.swift:68:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /UITests/SecurityTests.swift:45:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /UITests/SecurityTests.swift:55:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/ImageButtonWithLabel.swift:51:9: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/OpenTabs/SimpleTab.swift:36:31: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/OpenTabs/SimpleTab.swift:50:17: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/OpenTabs/TabProvider.swift:25:43: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/OpenTabs/TabProvider.swift:64:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/SearchQuickLinksMedium/SearchQuickLinks.swift:32:8: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/SearchQuickLinksSmall/SmallQuickLink.swift:34:8: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/TopSites/TopSitesProvider.swift:17:43: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /WidgetKit/TopSites/TopSitesProvider.swift:50:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/ActivityStreamTest.swift:174:78: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/ActivityStreamTest.swift:211:78: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/ActivityStreamTest.swift:237:67: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/ActivityStreamTest.swift:274:78: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/AuthenticationTest.swift:339:70: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/BookmarkingTests.swift:91:63: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/BookmarkingTests.swift:97:63: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:108: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:19: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:209: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:9: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:178:26: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:178:46: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:179:26: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:179:50: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/HistoryTests.swift:81:66: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/HomePageSettingsUITest.swift:170:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/NavigationTest.swift:110:78: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/NavigationTest.swift:267:48: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/PhotonActionSheetTest.swift:116:99: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/PhotonActionSheetTest.swift:150:58: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/SyncFAUITests.swift:202:60: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/SyncFAUITests.swift:236:55: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/SyncFAUITests.swift:240:56: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Firefox: /XCUITests/TopTabsTest.swift:197:70: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/MockService.swift:108:21: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/MockService.swift:91:21: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/CategoryCollectionViewSectionHeaderViewModel.swift:17:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/LoadingButtonViewModel.swift:19:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/ManagePledgeViewModel.swift:62:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/ManageViewPledgeRewardReceivedViewModel.swift:33:14: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/ProjectActivityNegativeStateChangeCellViewModel.swift:21:20: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:402:14: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:407:14: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:40:7: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:45:7: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:113:22: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:114:33: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:114:41: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:33:23: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:33:67: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:38:33: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Kickstarter: /bin/strings.swift:54:38: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftObjectInterfaceTests.swift:46:53: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftPropertyTypeTest.swift:113:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftPropertyTypeTest.swift:121:13: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:108:7: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:68:7: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:77:7: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:94:7: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Realm: /Realm/Tests/Swift/SwiftTestObjects.swift:148:56: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryFramework/Sources/Parsing/SwiftSyntax/AST/TypeName+SwiftSyntax.swift:63:63: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryJS/Sources/EJSTemplate.swift:58:54: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Stub/Errors/localized-error.swift:33:70: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/AppDelegate+GlobalActions.swift:215:74: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/AppDelegate.swift:16:43: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/Models/Artist.swift:24:35: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ This PR introduced a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/Models/Artist.swift:24:52: warning: Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ Danger found 675 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 126.
683 Messages
📖 Linting Aerial with this PR took 0.33s vs 0.3s on master (10% slower)
📖 Linting Alamofire with this PR took 0.3s vs 0.31s on master (3% faster)
📖 Linting Firefox with this PR took 1.33s vs 1.26s on master (5% slower)
📖 Linting Kickstarter with this PR took 1.93s vs 1.87s on master (3% slower)
📖 Linting Moya with this PR took 0.14s vs 0.14s on master (0% slower)
📖 Linting Nimble with this PR took 0.15s vs 0.16s on master (6% faster)
📖 Linting Quick with this PR took 0.08s vs 0.08s on master (0% slower)
📖 Linting Realm with this PR took 0.4s vs 0.41s on master (2% faster)
📖 Linting SourceKitten with this PR took 0.13s vs 0.15s on master (13% faster)
📖 Linting Sourcery with this PR took 0.44s vs 0.45s on master (2% faster)
📖 Linting Swift with this PR took 1.22s vs 1.25s on master (2% faster)
📖 Linting WordPress with this PR took 2.26s vs 2.26s on master (0% slower)
📖 This PR fixed a violation in Firefox: /Account/FxAPushMessageHandler.swift:147:32: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Account/SyncAuthState.swift:32:16: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Application/AppDelegate.swift:662:92: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Application/QuickActions.swift:66:40: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Application/TestAppDelegate.swift:120:122: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/BottomSheet/BottomSheetViewController.swift:112:76: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Browser/SavedTab.swift:17:9: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Browser/SearchViewController.swift:515:58: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Browser/SearchViewController.swift:516:61: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Browser/URLBarView.swift:916:46: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Browser/UserScriptManager.swift:15:39: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Browser/UserScriptManager.swift:21:35: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Settings/AdvancedAccountSettingViewController.swift:93:63: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Update/UpdateModel.swift:20:9: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Update/UpdateViewController.swift:39:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Update/UpdateViewController.swift:71:9: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Update/UpdateViewModel.swift:35:134: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Client/Frontend/Widgets/PhotonActionSheet/PhotonActionSheet.swift:208:87: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /ClientTests/BreachAlertsTests.swift:31:60: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /ClientTests/BreachAlertsTests.swift:32:58: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /ClientTests/ETPCoverSheet/ETPCoverSheetTests.swift:26:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /ClientTests/ETPCoverSheet/ETPCoverSheetTests.swift:39:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /ClientTests/NavigationRouterTests.swift:15:43: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:184:48: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:189:48: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:251:48: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:285:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:286:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:303:53: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:304:50: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:311:53: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:320:53: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:335:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:336:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:352:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:353:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:362:49: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:379:53: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:380:50: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:395:53: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:396:50: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:408:49: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:420:49: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:421:50: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:435:49: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SharedTests/NSURLExtensionsTests.swift:436:50: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Storage/Cursor.swift:92:12: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Storage/ThirdParty/SwiftData.swift:42:14: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /Storage/ThirdParty/SwiftData.swift:473:36: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /StorageTests/TestBrowserDB.swift:139:46: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /StorageTests/TestBrowserDB.swift:140:26: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /StorageTests/TestBrowserDB.swift:156:75: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /StorageTests/TestBrowserDB.swift:168:97: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SyncTests/MetaGlobalTests.swift:20:30: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SyncTests/MockSyncServer.swift:102:97: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /SyncTests/MockSyncServer.swift:173:28: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /ThirdParty/Reachability.swift:68:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /UITests/SecurityTests.swift:45:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /UITests/SecurityTests.swift:55:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/ImageButtonWithLabel.swift:51:9: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/OpenTabs/SimpleTab.swift:36:31: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/OpenTabs/SimpleTab.swift:50:17: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/OpenTabs/TabProvider.swift:25:43: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/OpenTabs/TabProvider.swift:64:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/SearchQuickLinksMedium/SearchQuickLinks.swift:32:8: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/SearchQuickLinksSmall/SmallQuickLink.swift:34:8: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/TopSites/TopSitesProvider.swift:17:43: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /WidgetKit/TopSites/TopSitesProvider.swift:50:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/ActivityStreamTest.swift:174:78: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/ActivityStreamTest.swift:211:78: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/ActivityStreamTest.swift:237:67: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/ActivityStreamTest.swift:274:78: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/AuthenticationTest.swift:339:70: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/BookmarkingTests.swift:91:63: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/BookmarkingTests.swift:97:63: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:108: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:19: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:209: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/CronTabsPerfTests.swift:5:9: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:178:26: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:178:46: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:179:26: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/DomainAutocompleteTest.swift:179:50: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/HistoryTests.swift:81:66: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/HomePageSettingsUITest.swift:170:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/NavigationTest.swift:110:78: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/NavigationTest.swift:267:48: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/PhotonActionSheetTest.swift:116:99: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/PhotonActionSheetTest.swift:150:58: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/SyncFAUITests.swift:202:60: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/SyncFAUITests.swift:236:55: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/SyncFAUITests.swift:240:56: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Firefox: /XCUITests/TopTabsTest.swift:197:70: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /KsApi/MockService.swift:108:21: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /KsApi/MockService.swift:91:21: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/CategoryCollectionViewSectionHeaderViewModel.swift:17:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/LoadingButtonViewModel.swift:19:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/ManagePledgeViewModel.swift:62:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/ManageViewPledgeRewardReceivedViewModel.swift:33:14: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/ProjectActivityNegativeStateChangeCellViewModel.swift:21:20: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:402:14: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:407:14: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:40:7: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /Library/ViewModels/RewardAddOnSelectionViewModel.swift:45:7: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:113:22: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:114:33: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:114:41: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:33:23: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:33:67: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:38:33: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Kickstarter: /bin/strings.swift:54:38: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftObjectInterfaceTests.swift:46:53: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftPropertyTypeTest.swift:113:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftPropertyTypeTest.swift:121:13: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:108:7: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:68:7: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:77:7: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftSchemaTests.swift:94:7: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Realm: /Realm/Tests/Swift/SwiftTestObjects.swift:148:56: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryFramework/Sources/Parsing/SwiftSyntax/AST/TypeName+SwiftSyntax.swift:63:63: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryJS/Sources/EJSTemplate.swift:58:54: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryTests/Stub/Errors/localized-error.swift:33:70: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/AppDelegate+GlobalActions.swift:215:74: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/AppDelegate.swift:16:43: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/Models/Artist.swift:24:35: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
📖 This PR fixed a violation in Sourcery: /SourceryTests/Stub/Performance-Code/Kiosk/App/Models/Artist.swift:24:52: warning: Colon Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. (colon)
⚠️ Danger found 683 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 138.

Generated by 🚫 Danger

@ghost
Copy link
Author

ghost commented Mar 26, 2021

The CocoaPods pipeline failed on an unrelated issue. I think it might be transitory (how do I re-run the pipelines)

The SwiftLintBot warnings are also unrelated: the issues were already present, the only thing that changed is the text.

@ghost ghost mentioned this pull request Mar 31, 2021
2 tasks
@ghost
Copy link
Author

ghost commented Apr 13, 2021

Hello @jpsim,
Sorry for the direct message, I haven't contributed to this project before and don't know who the maintainers are. I've chosen to message you since you've recently contributed another change that, same as this one, updates a rule name.

This PR has been sitting unreviewed for almost 3 weeks. Can you please review or suggest someone who I can talk to to get this progressed?

@ghost
Copy link
Author

ghost commented Apr 20, 2021

Hello @otaviocc, @fredpi, @agarmash, @cltnschlosser,

Sorry for the direct message. Does anyone know who the maintainers of SwiftLint are?

I filed this PR and its corresponding issue about a month ago and it still hasn't progressed. Can any of you review or suggest who I could talk to?

(btw, if you're wondering why I chose to ping you, I just looked at who contributed to SwiftLint in 2021)

Copy link
Contributor

@sethfri sethfri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @raduciobanu002, thank you for the contribution! Sorry that this has been sitting around for so long. I understand that can be frustrating.

To answer your question about maintainers: @jpsim is the maintainer of the project, and the rest of us try to contribute when we get time. But obviously it's a completely voluntary effort from all parties, so sometimes PRs can get stuck for a while.

As for the change itself, I think it seems reasonable. Just to confirm: This only changes how the name of the rule is displayed, correct? If folks are referencing the colon rule in their config, this won't break anything?

CHANGELOG.md Show resolved Hide resolved
@cltnschlosser
Copy link
Contributor

As for the change itself, I think it seems reasonable. Just to confirm: This only changes how the name of the rule is displayed, correct? If folks are referencing the colon rule in their config, this won't break anything?

Yeah the identifier is used in config. I believe name is just used for display.

@sethfri
Copy link
Contributor

sethfri commented May 3, 2021

As for the change itself, I think it seems reasonable. Just to confirm: This only changes how the name of the rule is displayed, correct? If folks are referencing the colon rule in their config, this won't break anything?

Yeah the identifier is used in config. I believe name is just used for display.

Thanks! That's what I thought, but having confirmation from someone else is helpful.

I'm going to go ahead and merge this since it seems like an innocuous change and has been stuck for a while. @jpsim if you have any issues, please let me know, we can always revert.

@sethfri
Copy link
Contributor

sethfri commented May 3, 2021

Hmm seems like Buildkite is failing because it can't build the ffi gem. Not totally sure what's going on there:

Installing ffi 1.12.2 with native extensions
--
  | Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  |  
  | current directory:
  | /opt/homebrew/var/buildkite-agent/builds/SwiftLint-Buildkite-1/swiftlint/swiftlint/vendor/bundle/ruby/2.7.0/gems/ffi-1.12.2/ext/ffi_c
  | /Users/administrator/.rbenv/versions/2.7.3/bin/ruby -I
  | /Users/administrator/.rbenv/versions/2.7.3/lib/ruby/2.7.0 -r
  | ./siteconf20210502-26658-1uiuzyx.rb extconf.rb
  | checking for ffi_call() in -lffi... yes
  | checking for ffi_closure_alloc()... yes
  | checking for shlwapi.h... no
  | checking for rb_thread_call_without_gvl()... yes
  | checking for ruby_native_thread_p()... yes
  | checking for ruby_thread_has_gvl_p()... yes
  | checking for ffi_prep_cif_var()... yes
  | checking for ffi_raw_call()... yes
  | checking for ffi_prep_raw_closure()... yes
  | creating extconf.h
  | creating Makefile
  |  
  | current directory:
  | /opt/homebrew/var/buildkite-agent/builds/SwiftLint-Buildkite-1/swiftlint/swiftlint/vendor/bundle/ruby/2.7.0/gems/ffi-1.12.2/ext/ffi_c
  | make "DESTDIR=" clean
  |  
  | current directory:
  | /opt/homebrew/var/buildkite-agent/builds/SwiftLint-Buildkite-1/swiftlint/swiftlint/vendor/bundle/ruby/2.7.0/gems/ffi-1.12.2/ext/ffi_c
  | make "DESTDIR="
  | compiling AbstractMemory.c
  | compiling ArrayType.c
  | compiling Buffer.c
  | compiling Call.c
  | compiling ClosurePool.c
  | compiling DynamicLibrary.c
  | compiling Function.c
  | Function.c:867:17: error: implicit declaration of function 'ffi_prep_closure' is
  | invalid in C99 [-Werror,-Wimplicit-function-declaration]
  | ffiStatus = ffi_prep_closure(code, &fnInfo->ffi_cif, callback_invoke,
  | closure);
  | ^
  | 1 error generated.
  | make: *** [Function.o] Error 1
  |  
  | make failed, exit code 2
  |  
  | Gem files will remain installed in
  | /opt/homebrew/var/buildkite-agent/builds/SwiftLint-Buildkite-1/swiftlint/swiftlint/vendor/bundle/ruby/2.7.0/gems/ffi-1.12.2
  | for inspection.
  | Results logged to
  | /opt/homebrew/var/buildkite-agent/builds/SwiftLint-Buildkite-1/swiftlint/swiftlint/vendor/bundle/ruby/2.7.0/extensions/arm64-darwin-20/2.7.0/ffi-1.12.2/gem_make.out
  |  
  | An error occurred while installing ffi (1.12.2), and Bundler cannot
  | continue.
  | Make sure that `gem install ffi -v '1.12.2' --source 'https://rubygems.org/'`
  | succeeds before bundling.
  |  
  | In Gemfile:
  | jazzy was resolved to 0.13.2, which depends on
  | cocoapods was resolved to 1.9.1, which depends on
  | cocoapods-core was resolved to 1.9.1, which depends on
  | typhoeus was resolved to 1.3.1, which depends on
  | ethon was resolved to 0.12.0, which depends on
  | ffi
  | 🚨 Error: The command exited with status 5
  | user command error: exit status 5


@ghost
Copy link
Author

ghost commented May 4, 2021

Hi @raduciobanu002, thank you for the contribution! Sorry that this has been sitting around for so long. I understand that can be frustrating.

To answer your question about maintainers: @jpsim is the maintainer of the project, and the rest of us try to contribute when we get time. But obviously it's a completely voluntary effort from all parties, so sometimes PRs can get stuck for a while.

Thanks @sethfri. I appreciate this is totally voluntary and am grateful for your assistance. TBH I didn't mind waiting as long as I know the PR will get looked at at some point. As mentioned in my message I simply didn't know the structure of the maintaining team 🤷

As for the change itself, I think it seems reasonable. Just to confirm: This only changes how the name of the rule is displayed, correct? If folks are referencing the colon rule in their config, this won't break anything?

Yes, to the best of my knowledge of the project this PR should only change the display name of the rule and not anything else. The Danger warnings are because it's testing the warning display names specifically.

Thanks again @sethfri and @cltnschlosser for looking at this.

@ghost
Copy link
Author

ghost commented May 11, 2021

So, after having reverted all the changes to match master branch exactly, buildkite is still failing.
I found this post that seems to reference a similar issue but it's referring to building locally, not on a remote machine. And since I'm too much of a zero when it comes to CI I don't even know where to start tweaking config files to try to apply the fix proposed.
https://medium.com/@leoliang.climber/missing-ffi-prep-closure-error-for-ffi-1-13-1-gem-70f800a48090

I'm out of ideas.

@sethfri
Copy link
Contributor

sethfri commented May 20, 2021

And since I'm too much of a zero when it comes to CI I don't even know where to start tweaking config files to try to apply the fix proposed.

Don't feel bad! There are several things happening here that make this pretty confusing. The tl;dr is that you need to sync your fork.

If you're curious why, I did some spelunking and I'm happy to walk you through it. I don't know your level of experience, so to avoid back and forth and help you as best I can the first time, I'm going to index towards over-explaining. Apologies if anything comes across as patronizing.

Notice in the build output that Buildkite says it's Installing ffi 1.12.2. That's our first clue, the ffi version. ffi is a Ruby gem that gets installed by Bundler. That's the bundle install --path vendor/bundle command you see if you take a look at Buildkite. Bundler uses a Gemfile and Gemfile.lock. You can read about those in Bundler's documentation here.

If you take a look at SwiftLint's latest Gemfile.lock, you'll notice we're using ffi 1.15.0, which of course is more recent than 1.12.2. That's our next clue.

The next question I asked was: What changed between ffi 1.12.2 and 1.15.0? So I went over to their repo. Their CHANGELOG doesn't mention anything related to our issue that I can see, so I went to their release list. You can see 1.12.2 was published in Feb 2020, and 1.15.0 was published in March 2021, so that's the time range we're interested in. I went all the way back to Feb 2020 in their commit history and started looking for a commit that looked relevant. That's when I found ffi/ffi#746, which deals directly with the missing method we're seeing! They made ffi no longer use ffi_prep_closure since it was deprecated, meaning it was going to be removed in a future release - and based on our error it was! Clearly the Mac that Buildkite is running on is using a newer version of the underlying library.

So, the fix is to make sure your branch is using the same ffi 1.15.0 that the master branch is using, instead of the older 1.12.2.

I hope that makes sense! Please let me know if you have any questions, or need help syncing your fork. I'd expect the Buildkite issue to stop once you do that, and we can finally get this merged.

@sethfri sethfri mentioned this pull request May 20, 2021
2 tasks
@ghost
Copy link
Author

ghost commented May 20, 2021

@sethfri Ah... I didn't take into account that I'm working with multiple Remotes 😊
While even if I restore my feature branch to match my fork's origin/master, it won't match realm's master, since it's moved forward since I forked.
The fork was the key all along! excuse the pun 😄

Sorry, I'm still a bit new to contributing to open source projects.

However, another thing that contributed to this being a problem is that buildkite tried to build my branch rather than pulling into realm/master and building that.

With your advice I can see the build is now successful. I am grateful for your thorough explanation and I'm sorry you've had to spend this much time investigating and then doing the write-up. Thanks again!

@sethfri
Copy link
Contributor

sethfri commented May 20, 2021

However, another thing that contributed to this being a problem is that buildkite tried to build my branch rather than pulling into realm/master and building that.

Most CI I've seen for PRs typically just builds against the PR branch. I agree with you it'd probably be better for it to pull your change in and build against realm/master, but since there are multiple ways to merge this probably presents some complications.

I'm sorry you've had to spend this much time investigating and then doing the write-up.

No need to apologize. It was fun and doesn't take that much time when you know what you're looking for. The steps become internalized 😊 Plus, it's always nice to help someone level up.

I'm still a bit new to contributing to open source projects

I hope you'll continue doing so! We can always use more contributors. Sorry again for the headaches on this PR, and thanks for your contribution!

@sethfri sethfri merged commit 07c8e52 into realm:master May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants