realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.46k stars 2.2k forks source link

Respect nested types in `redundant_type_annotation` rule #5537

Closed SimplyDanny closed 2 months ago

SimplyDanny commented 2 months ago

Fixes #3146.

SwiftLintBot commented 2 months ago
5 Warnings
:warning: This PR introduced a violation in Wire: /wire-ios-sync-engine/Source/Calling/WireCallCenterV3+Notifications.swift:76:32: warning: Redundant Type Annotation Violation: Variables should not have redundant type annotation (redundant_type_annotation)
:warning: This PR introduced a violation in Wire: /wire-ios-sync-engine/Source/UserSession/NotificationInContext+UserSession.swift:115:32: warning: Redundant Type Annotation Violation: Variables should not have redundant type annotation (redundant_type_annotation)
:warning: This PR introduced a violation in Wire: /wire-ios-utilities/Source/Public/String+Emoji.swift:28:25: warning: Redundant Type Annotation Violation: Variables should not have redundant type annotation (redundant_type_annotation)
:warning: This PR introduced a violation in Wire: /wire-ios/Tests/Mocks/UserSessionMock.swift:294:20: warning: Redundant Type Annotation Violation: Variables should not have redundant type annotation (redundant_type_annotation)
:warning: This PR introduced a violation in Wire: /wire-ios/Wire-iOS/Sources/UserInterface/Helpers/UIApplication+StatusBar.swift:23:51: warning: Redundant Type Annotation Violation: Variables should not have redundant type annotation (redundant_type_annotation)
17 Messages
:book: Linting Aerial with this PR took 0.18s vs 0.19s on main (5% faster)
:book: Linting Alamofire with this PR took 0.15s vs 0.15s on main (0% slower)
:book: Linting Brave with this PR took 0.67s vs 0.65s on main (3% slower)
:book: Linting DuckDuckGo with this PR took 0.57s vs 0.54s on main (5% slower)
:book: Linting Firefox with this PR took 1.19s vs 1.16s on main (2% slower)
:book: Linting Kickstarter with this PR took 0.74s vs 0.74s on main (0% slower)
:book: Linting Moya with this PR took 0.11s vs 0.12s on main (8% faster)
:book: Linting NetNewsWire with this PR took 0.28s vs 0.29s on main (3% faster)
:book: Linting Nimble with this PR took 0.14s vs 0.17s on main (17% faster)
:book: Linting PocketCasts with this PR took 0.67s vs 0.66s on main (1% slower)
:book: Linting Quick with this PR took 0.11s vs 0.13s on main (15% faster)
:book: Linting Realm with this PR took 0.54s vs 0.52s on main (3% slower)
:book: Linting Sourcery with this PR took 0.32s vs 0.32s on main (0% slower)
:book: Linting Swift with this PR took 0.4s vs 0.4s on main (0% slower)
:book: Linting VLC with this PR took 0.17s vs 0.17s on main (0% slower)
:book: Linting Wire with this PR took 1.68s vs 1.68s on main (0% slower)
:book: Linting WordPress with this PR took 1.02s vs 1.05s on main (2% faster)

Generated by :no_entry_sign: Danger