Skip to content

Comments

Fix indentation_width false positives for multi-line conditions#6505

Open
tanaev wants to merge 1 commit intorealm:mainfrom
tanaev:fix/indentation-width-multiline-conditions
Open

Fix indentation_width false positives for multi-line conditions#6505
tanaev wants to merge 1 commit intorealm:mainfrom
tanaev:fix/indentation-width-multiline-conditions

Conversation

@tanaev
Copy link

@tanaev tanaev commented Feb 19, 2026

Summary

  • Fix false positives in indentation_width rule when guard/if/while conditions span multiple lines and are aligned to the keyword (e.g., guard = 6 spaces), which is not a multiple of indentation_width
  • Add a SwiftSyntax-based pre-pass (MultilineConditionLineVisitor) that collects continuation line numbers and skips them during indentation checks
  • Add include_multiline_conditions configuration option (default: false) to control this behavior

Fixes #4961

Test plan

  • Added testIncludeMultilineConditions() with cases for guard, if, while, nested conditions, and include_multiline_conditions: true
  • Added nonTriggeringExamples to rule description for multi-line guard and if
  • All existing IndentationWidthRuleTests pass (14 + 1 new = 15 tests, 0 failures)
  • Verify CI passes on all platforms

@SwiftLintBot
Copy link

SwiftLintBot commented Feb 19, 2026

545 Warnings
⚠️ This PR introduced a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:149:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:173:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/Thumbnails.swift:121:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Favicons/Model/FaviconManager.swift:242:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Autofill/ContentOverlayPopover.swift:107:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Tab/Model/SystemInfo.swift:69:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Feedback/View/FeedbackViewController.swift:166:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Feedback/View/FeedbackViewController.swift:176:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/Fire/View/FireViewController.swift:271:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /macOS/DuckDuckGo/CrashReports/Model/CrashReport.swift:143:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/AttributedMetric/Sources/AttributedMetric/AttributedMetricManager.swift:476:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/AutomationServer.swift:281:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Favicons.swift:187:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/Customization/MobileCustomization.swift:203:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/FeedbackFormViewController.swift:198:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/FeedbackFormViewController.swift:258:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/ProgressView.swift:118:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/TabsModel.swift:113:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/OnboardingViewController.swift:66:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/AppIconSettingsViewController.swift:81:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/CachedBookmarkSuggestions.swift:53:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/FindInPageView.swift:115:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DuckPlayer/NativeUI/NativeDuckPlayerNavigationHandler.swift:532:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGo/DuckPlayer/NativeUI/UserScripts/DuckPlayerUserScriptYouTube.swift:119:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGoTests/NotFoundCachingDownloaderTests.swift:53:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /iOS/DuckDuckGoTests/NotFoundCachingDownloaderTests.swift:72:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/Autofill/OverlayAutofillUserScript.swift:96:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in DuckDuckGo: /SharedPackages/BrowserServicesKit/Sources/BrowserServicesKit/Autofill/WebsiteAutofillUserScript.swift:80:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Providers/RustSyncManager.swift:285:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Client/Frontend/Settings/SyncContentSettingsViewController.swift:117:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Client/Frontend/InternalSchemeHandler/ErrorPageHelper.swift:217:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Client/Frontend/Library/HistoryPanel/HistoryPanel.swift:317:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Client/Frontend/Browser/TranslationToastHandler.swift:109:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Client/Frontend/Browser/MetadataParserHelper.swift:23:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /firefox-ios/Client/Frontend/Browser/TabScrollController/TabScrollHandler.swift:249:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /BrowserKit/Sources/Shared/Deferred/ReadWriteLock.swift:93:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /BrowserKit/Sources/Shared/Deferred/ReadWriteLock.swift:129:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /focus-ios/Deferred/ReadWriteLock.swift:89:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /focus-ios/Deferred/ReadWriteLock.swift:125:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /focus-ios/Blockzilla/Tracking Protection/TrackingProtectionPageStats.swift:152:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /focus-ios/Blockzilla/Search/SearchEngine.swift:30:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /focus-ios/Blockzilla/Modules/WebView/LegacyWebViewController.swift:631:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Firefox: /focus-ios/Blockzilla/BrowserViewController.swift:2021:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KDS/Sources/KDS/Fonts/InterFont.swift:95:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-iOS/AppDelegate.swift:129:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /LibraryTests/Library/ViewModels/CommentCellViewModelTests.swift:171:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /bin/StringsScript/Tests/StringsScriptTests/StringsScriptTests.swift:40:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/Comments/Controllers/CommentRepliesViewController.swift:234:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/PledgePaymentMethods/Datasource/PledgePaymentMethodsDataSource.swift:66:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/SortFilter/FilterCategory/FilterCategoryView.swift:63:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/PledgedProjectsOverview/CardView/PPOProjectCardModel+Parsing.swift:73:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/PledgedProjectsOverview/CardView/PPOProjectCardModel+Parsing.swift:177:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/Discovery/Views/Cells/DiscoveryProjectCardCell.swift:535:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ThanksProjects/Controller/ThanksViewController.swift:223:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/Search/Controller/SearchViewController.swift:272:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/BetaTools/Controller/BetaToolsViewController.swift:214:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/BetaTools/Controller/BetaToolsViewController.swift:244:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/SettingsAccount/ViewModel/SettingsAccountViewModel.swift:64:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/SettingsAccount/Controller/SettingsAccountViewController.swift:172:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/FloatingTabBar/FloatingTabBar.swift:166:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Datasource/Datasource/ProjectPageViewControllerDataSource.swift:394:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Datasource/Datasource/ProjectPageViewControllerDataSource.swift:515:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Datasource/Datasource/ProjectPageViewControllerDataSource.swift:535:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Datasource/Datasource/ProjectPageViewControllerDataSource.swift:553:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Datasource/Datasource/ProjectPageViewControllerDataSource.swift:568:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Views/Cells/ExternalSourceViewElementCell.swift:137:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Controller/ProjectPageViewController.swift:836:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Controller/ProjectPageViewController.swift:1009:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Controller/ProjectPageViewController.swift:1174:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/ProjectPage/Views/OverlayView.swift:60:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/MessageThreads/Controller/MessageThreadsViewController.swift:142:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/DiscoveryFilters/Datasource/DiscoveryFiltersDataSource.swift:84:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/DiscoveryFilters/Controller/DiscoveryFiltersViewController.swift:203:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/Features/LoginTout/Controller/LoginToutViewController.swift:565:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/DataSource/ValueCellDataSource.swift:338:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/DataSource/ValueCellDataSource.swift:355:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/RewardsUseCase.swift:79:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/AppDelegateViewModel.swift:575:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/AppDelegateViewModel.swift:676:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Kickstarter-Framework/Sources/Kickstarter-Framework/Kickstarter-iOS/AppDelegateViewModel.swift:772:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/HTML Parser/ExternalSourceViewElementCellViewModel.swift:43:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/HTML Parser/TextViewElementCellViewModel.swift:99:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/HTML Parser/TextViewElementCellViewModel.swift:106:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/HTML Parser/TextViewElementCellViewModel.swift:116:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/RewardAddOnSelectionViewModel.swift:511:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/SettingsNotificationCellViewModel.swift:44:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/SettingsNotificationCellViewModel.swift:59:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/ViewModels/DiscoveryFiltersViewModel.swift:242:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/Language.swift:30:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/SharedFunctions.swift:797:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/UIViewController+Children.swift:58:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/UpdateBackingInput+Constructor.swift:13:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/UIScrollView+Extensions.swift:11:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/AppEnvironment.swift:440:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/AppEnvironment.swift:457:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /Library/Sources/Library/Library/AppEnvironment.swift:474:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/mutations/templates/query/FetchProjectQueryTemplate.swift:248:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/Project+FetchProjectQueryDataTests.swift:27:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/Project+FetchProjectQueryDataTests.swift:200:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/CommentRepliesEnvelope+GraphCommentRepliesEnvelopeTests.swift:9:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/Project+FetchProjectRewardsByIdQueryDataTests.swift:14:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/Project+FetchProjectRewardsByIdQueryDataTests.swift:73:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/DeletePaymentSourceEnvelope+DeletePaymentSourceMutation.DataTests.swift:16:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/models/graphql/adapters/CommentsEnvelope+GraphCommentsEnvelopeTests.swift:11:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApiTests/lib/HTML Parser/HTMLParserTests.swift:263:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/PostCommentEnvelope.swift:26:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/PledgePaymentIncrement+GraphAPI.swift:41:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/graphql/adapters/DeletePaymentSourceEnvelope+DeletePaymentSourceMutation.Data.swift:9:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/graphql/adapters/Project.Country+CountryFragment.swift:13:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/graphql/adapters/Project.Country+CountryFragment.swift:27:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/graphql/adapters/User+UserFragment.swift:61:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/graphql/adapters/SignInWithAppleEnvelope+SignInWithAppleMutation.Data.swift:13:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/graphql/adapters/CreatePaymentSourceEnvelope+CreatePaymentSourceMutation.Data.swift:12:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/models/CreateCheckoutEnvelope.swift:22:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/extensions/NSURLSession.swift:17:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/Decodable.swift:13:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/HTML Parser/Element+Helpers.swift:72:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/HTML Parser/Element+Helpers.swift:77:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/HTML Parser/Element+Helpers.swift:97:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/HTML Parser/Element+Helpers.swift:109:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/HTML Parser/Element+Helpers.swift:115:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ This PR introduced a violation in Kickstarter: /KsApi/Sources/KsApi/lib/HTML Parser/Element+Helpers.swift:142:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ Danger found 545 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 122.
6659 Messages
📖 Building this branch resulted in a binary size of 27255.38 KiB vs 27252.32 KiB when built on main (0% larger).
📖 Linting Aerial with this PR took 0.81 s vs 0.81 s on main (0% slower).
📖 Linting Alamofire with this PR took 1.02 s vs 1.07 s on main (4% faster).
📖 Linting Brave with this PR took 7.2 s vs 7.25 s on main (0% faster).
📖 Linting DuckDuckGo with this PR took 25.6 s vs 25.61 s on main (0% faster).
📖 Linting Firefox with this PR took 11.79 s vs 11.82 s on main (0% faster).
📖 Linting Kickstarter with this PR took 8.09 s vs 8.09 s on main (0% slower).
📖 Linting Moya with this PR took 0.45 s vs 0.48 s on main (6% faster).
📖 Linting NetNewsWire with this PR took 2.47 s vs 2.48 s on main (0% faster).
📖 Linting Nimble with this PR took 0.7 s vs 0.71 s on main (1% faster).
📖 Linting PocketCasts with this PR took 7.65 s vs 7.54 s on main (1% slower).
📖 Linting Quick with this PR took 0.48 s vs 0.48 s on main (0% slower).
📖 Linting Realm with this PR took 3.28 s vs 3.22 s on main (1% slower).
📖 Linting Sourcery with this PR took 1.85 s vs 1.89 s on main (2% faster).
📖 Linting Swift with this PR took 4.63 s vs 4.61 s on main (0% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 0.35 s vs 0.35 s on main (0% slower).
📖 Linting VLC with this PR took 1.18 s vs 1.19 s on main (0% faster).
📖 Linting Wire with this PR took 18.57 s vs 18.56 s on main (0% slower).
📖 Linting WordPress with this PR took 12.54 s vs 12.51 s on main (0% slower).
📖 This PR fixed a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:128:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:144:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:171:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:189:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Resources/MainUI/Settings panels/FiltersViewController.swift:76:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Resources/MainUI/Settings panels/AdvancedViewController.swift:160:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Cache/VideoLoader.swift:226:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Cache/VideoDownload.swift:84:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Cache/VideoDownload.swift:309:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Cache/Cache.swift:615:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Cache/Cache.swift:631:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Models/Cache/Cache.swift:632:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Aerial: /Aerial/Source/Views/PrefPanel/InfoWeatherView.swift:171:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Source/Core/ParameterEncoder.swift:175:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Source/Core/Session.swift:1173:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Source/Core/SessionDelegate.swift:124:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Source/Core/Request.swift:1135:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Source/Features/Concurrency.swift:660:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Source/Features/Concurrency.swift:835:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Tests/RequestTests.swift:1516:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Alamofire: /Tests/DownloadTests.swift:280:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:72:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/l10n/tools/download-translations-from-transifex.swift:142:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/Shared/OpenInBraveViewController.swift:29:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/Shared/OpenInBraveViewController.swift:41:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/Shared/OpenInBraveViewController.swift:71:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/Shared/OpenInBraveViewController.swift:77:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/AutoFillProvider/CredentialProviderViewController.swift:61:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/AutoFillProvider/CredentialProviderViewController.swift:64:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/AutoFillProvider/CredentialProviderViewController.swift:119:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppState.swift:70:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/WebShell/ContentView.swift:121:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/CPTemplateApplicationSceneDelegate.swift:25:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:103:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:152:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:174:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:182:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:198:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:209:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:398:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:401:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:403:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:409:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:413:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:482:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:487:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:172:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:178:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:217:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:221:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:228:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:286:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:379:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:499:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:715:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:770:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:785:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/WebFilters/NetworkManager+Tests.swift:21:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/WebFilters/NetworkManager+Tests.swift:23:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/NavigationRouterTests.swift:46:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/NavigationRouterTests.swift:49:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/ContentBlockerManagerTests.swift:98:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/ContentBlockerManagerTests.swift:101:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/SolanaProviderScriptHandlerTests.swift:36:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/SolanaProviderScriptHandlerTests.swift:117:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/SolanaProviderScriptHandlerTests.swift:231:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/SolanaProviderScriptHandlerTests.swift:357:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/SolanaProviderScriptHandlerTests.swift:474:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:516:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:518:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:544:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:546:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:550:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:552:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:555:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:559:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/ClientTests/UserScripts/ScriptExecutionTests.swift:561:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/UserAgentTests/UserAgentTests.swift:126:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/AIChatTests/AIChatTest.swift:119:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/AIChatTests/AIChatTest.swift:124:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/AIChatTests/AIChatTest.swift:165:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/AIChatTests/AIChatTest.swift:170:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/UserAgentTests/UserAgentBuilderTests.swift:30:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/UserAgentTests/UserAgentBuilderTests.swift:32:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:259:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:264:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:269:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:273:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:277:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:281:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/AccountsStoreTests.swift:285:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:40:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:44:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:76:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:80:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:105:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:109:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:131:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:135:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:169:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:173:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:199:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:203:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:224:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:228:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:254:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:258:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:283:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:287:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:308:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:312:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:338:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:342:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:367:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/DecentralizedDNSHelperTests.swift:371:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionsActivityStoreTests.swift:254:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionDetailsStoreTests.swift:125:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionDetailsStoreTests.swift:186:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionDetailsStoreTests.swift:206:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:280:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:290:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:303:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:365:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:375:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:451:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:461:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:537:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:547:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
📖 This PR fixed a violation in Brave: /ios/brave-ios/Tests/BraveWalletTests/TransactionParserTests.swift:607:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
⚠️ Danger found 6659 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 148.

Generated by 🚫 Danger

Skip continuation lines of multi-line `guard`/`if`/`while` condition
lists that are aligned to the keyword rather than following the
`indentation_width` grid. Add `include_multiline_conditions` option
(default: `false`) to control this behavior.

Fixes realm#4961
@tanaev tanaev force-pushed the fix/indentation-width-multiline-conditions branch from af2d13b to f158dbd Compare February 19, 2026 21:25
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.

indentation_width is not working well with multiple line if and guard

2 participants