SwiftLint icon indicating copy to clipboard operation
SwiftLint copied to clipboard

fix(indentation_width): catch under-indented closing braces

Open theamodhshetty opened this issue 8 months ago • 2 comments

Fixes #6498

This updates indentation_width so lines that start with closing delimiters are validated against the immediately preceding indentation level instead of any earlier indentation on the grid. That catches the under-indented inner } from the report without cascading a second warning onto the next outer closing brace.

I also added a regression test for the SwiftUI / .onTapGesture example from the issue and a changelog entry for the behavior change.

Tests:

  • swift test --filter IndentationWidthRuleTests

theamodhshetty avatar Mar 06 '26 07:03 theamodhshetty

92785 Warnings
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/First time setup/VideoFormatViewController.swift:31:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/PanelWindowController.swift:176:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/Collection View/PlayingCollectionViewItem.swift:83:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/Collection View/PlayingCollectionViewItem.swift:91:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/Collection View/PlayingCollectionViewItem.swift:95:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/Collection View/PlayingCollectionViewItem.swift:97:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/Collection View/PlayingCollectionViewItem.swift:100:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/SourcesViewController.swift:147:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/CacheViewController.swift:326:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/Settings panels/BrightnessViewController.swift:91:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/VideosViewController.swift:474:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Resources/MainUI/VideosViewController.swift:586:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager+Goodies.swift:50:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Music/Music.swift:53:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/Sound.swift:17:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/AerialVideo.swift:93:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:33:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:67:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:97:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:137:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:170:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:210:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager.swift:212:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager+Properties.swift:30:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager+Properties.swift:35:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager+Properties.swift:46:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager+Properties.swift:51:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/ISSoundAdditions/SoundOutputManager+Properties.swift:53:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/ManifestLoader.swift:45:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/ManifestLoader.swift:110:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/ManifestLoader.swift:490:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoLoader.swift:213:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/Thumbnails.swift:103:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/Thumbnails.swift:120:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/Thumbnails.swift:122:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/DisplayDetection.swift:116:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/DisplayDetection.swift:164:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Hardware/DisplayDetection.swift:183:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoDownload.swift:17:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoDownload.swift:296:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/CustomVideoFolders.swift:42:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/CustomVideoFolders.swift:99:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/CustomVideoFolders.swift:166:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoCache.swift:71:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoCache.swift:131:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Cache/VideoCache.swift:251:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Time/Solar.swift:225:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Time/Solar.swift:252:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Time/Solar.swift:289:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Extensions/AVAsset+VideoOrientation.swift:28:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Time/TimeManagement.swift:254:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/GeoCoding.swift:81:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceInfo.swift:21:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceInfo.swift:88:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/Forecast.swift:148:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/Forecast.swift:158:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Downloads/FileHelpers.swift:18:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:144:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OpenWeather.swift:154:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:218:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:227:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:237:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:245:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:303:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:359:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:367:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:413:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:424:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:499:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/SourceList.swift:532:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Downloads/DownloadManager.swift:69:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Downloads/DownloadManager.swift:83:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Downloads/DownloadManager.swift:142:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/VideoList.swift:128:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/VideoList.swift:132:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/VideoList.swift:143:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/VideoList.swift:212:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/VideoList.swift:422:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OneCall.swift:178:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/API/OneCall.swift:190:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/PrefPanel/InfoTableSource.swift:138:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/PrefPanel/InfoTableSource.swift:139:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/AerialView+Player.swift:96:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/Source.swift:332:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/Source.swift:342:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Models/Sources/Source.swift:363:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Controllers/CustomVideoController.swift:95:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Controllers/CustomVideoController.swift:199:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Controllers/CustomVideoController.swift:206:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Controllers/CustomVideoController.swift:590:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/PrefPanel/InfoWeatherView.swift:45:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/PrefPanel/InfoWeatherView.swift:176:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/PrefPanel/InfoWeatherView.swift:211:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/ClockLayer.swift:81:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/BatteryIconLayer.swift:128:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/AnimatableLayer.swift:225:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/AnimatableLayer.swift:239:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/LocationLayer.swift:155:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/MainUI/ShadowTextFieldCell.swift:13:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/Weather/WeatherLayer.swift:65:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/Weather/ConditionSymbolLayer.swift:242:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/Weather/ConditionLayer.swift:89:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/Weather/ForecastLayer.swift:67:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/Layers/Weather/ForecastLayer.swift:95:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Aerial: /Aerial/Source/Views/AerialView.swift:224:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/ParameterEncoder.swift:136:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/ParameterEncoder.swift:193:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/ParameterEncoding.swift:78:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/RequestTaskMap.swift:124:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/RequestTaskMap.swift:148:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:229:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:441:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:477:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:787:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:809:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:845:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:869:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:977:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:1019:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Session.swift:1450:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DataStreamRequest.swift:103:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DataStreamRequest.swift:144:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DataStreamRequest.swift:218:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DataStreamRequest.swift:266:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DataStreamRequest.swift:477:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:168:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:190:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:321:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:377:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:512:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:543:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:575:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/DownloadRequest.swift:607:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/WebSocketRequest.swift:169:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/WebSocketRequest.swift:477:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/UploadRequest.swift:88:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/UploadRequest.swift:119:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: This PR introduced a violation in Alamofire: /Source/Core/Response.swift:146:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:warning: Danger found 92785 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 138.
23679 Messages
:book: Building this branch resulted in a binary size of 27357.96 KiB vs 27357.74 KiB when built on main (0% larger).
:book: Linting Aerial with this PR took 0.81 s vs 0.82 s on main (1% faster).
:book: Linting Alamofire with this PR took 1.05 s vs 1.03 s on main (1% slower).
:book: Linting Brave with this PR took 7.33 s vs 7.17 s on main (2% slower).
:book: Linting DuckDuckGo with this PR took 26.18 s vs 26.08 s on main (0% slower).
:book: Linting Firefox with this PR took 11.88 s vs 11.82 s on main (0% slower).
:book: Linting Kickstarter with this PR took 8.21 s vs 8.08 s on main (1% slower).
:book: Linting Moya with this PR took 0.45 s vs 0.48 s on main (6% faster).
:book: Linting NetNewsWire with this PR took 2.48 s vs 2.44 s on main (1% slower).
:book: Linting Nimble with this PR took 0.7 s vs 0.67 s on main (4% slower).
:book: Linting PocketCasts with this PR took 7.76 s vs 7.72 s on main (0% slower).
:book: Linting Quick with this PR took 0.45 s vs 0.46 s on main (2% faster).
:book: Linting Realm with this PR took 3.01 s vs 3.04 s on main (0% faster).
:book: Linting Sourcery with this PR took 1.89 s vs 1.87 s on main (1% slower).
:book: Linting Swift with this PR took 4.73 s vs 4.67 s on main (1% slower).
:book: Linting SwiftLintPerformanceTests with this PR took 0.33 s vs 0.33 s on main (0% slower).
:book: Linting VLC with this PR took 1.19 s vs 1.16 s on main (2% slower).
:book: Linting Wire with this PR took 18.62 s vs 18.48 s on main (0% slower).
:book: Linting WordPress with this PR took 12.67 s vs 12.59 s on main (0% slower).
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/SingleStatWidget.swift:22:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/SingleStatWidget.swift:91:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:48:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:58:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:65:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:70:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:76:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:84:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:105:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:107:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:114:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:116:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:118:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:128:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:135:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:140:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:148:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/NewsTopics/NewsTopicsModel.swift:156:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:67:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:69:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:72:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:142:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:144:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:147:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:149:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/FavoritesWidget.swift:171:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:20:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:117:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:123:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:126:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:129:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:131:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:134:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:136:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:138:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:140:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:144:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:146:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:148:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:150:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:152:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:154:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:156:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:164:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:167:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:169:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:171:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:173:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:175:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:177:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:179:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:181:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:183:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:185:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:187:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:189:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:196:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:202:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:206:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:209:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/ShortcutsWidget.swift:211:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:75:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:113:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:150:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:226:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:243:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:245:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:259:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:261:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:265:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:267:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsWidget.swift:269:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/WidgetAccentable.swift:13:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/WidgetBackground.swift:19:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenShortcutWidget.swift:27:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/StatsWidget.swift:76:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/StatsWidget.swift:78:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/StatsWidget.swift:80:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/StatsWidget.swift:87:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:28:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:106:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:112:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:123:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:129:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:139:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:141:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:143:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:145:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:150:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:160:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:165:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:179:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/LockScreenFavoriteWidget.swift:181:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/l10n/tools/download-translations-from-transifex.swift:72:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/l10n/tools/download-translations-from-transifex.swift:184:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/l10n/tools/download-translations-from-transifex.swift:196:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/l10n/tools/download-translations-from-transifex.swift:211:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/l10n/tools/download-translations-from-transifex.swift:268:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/Shared/OpenInBraveViewController.swift:39:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/WebShell/ContentView.swift:109:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/WebShell/ContentView.swift:111:1: Warning: Code should be unindented by multiples of one tab or multiples of 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/WebShell/ContentView.swift:135:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/WebShell/ContentView.swift:141:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/WebShell/ContentView.swift:148:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:94:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:110:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:112:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:114:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:140:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:144:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:151:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:166:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:168:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:177:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/BraveWidgets/TopNewsListWidget.swift:179:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppState.swift:186:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:216:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:308:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:375:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:423:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/AppDelegate.swift:458:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:266:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:335:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:351:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:369:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:373:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:377:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: 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)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:381:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:390:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:399:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:408:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:410:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:book: This PR fixed a violation in Brave: /ios/brave-ios/App/iOS/Delegates/SceneDelegate.swift:412:1: Warning: Code should be indented using one tab or 4 spaces (indentation_width)
:warning: Danger found 23679 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 153.

Generated by :no_entry_sign: Danger

SwiftLintBot avatar Mar 06 '26 08:03 SwiftLintBot

Pushed a small follow-up in 6915a6c after the first CI pass.

The initial failure was local to the rule file itself (cyclomatic_complexity + multiline literal formatting), so I extracted the closing-delimiter validation into a helper and reformatted that branch.

Re-run checks I used locally:

  • ./.build/debug/swiftlint lint Source/SwiftLintBuiltInRules/Rules/Style/IndentationWidthRule.swift Tests/BuiltInRulesTests/IndentationWidthRuleTests.swift --strict
  • swift test --filter IndentationWidthRuleTests

theamodhshetty avatar Mar 06 '26 08:03 theamodhshetty