realm / SwiftLint

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

Mildm8nnered unused enumerated rule improvements test #5520

Closed mildm8nnered closed 6 months ago

mildm8nnered commented 6 months ago

test - please ignore

SwiftLintBot commented 6 months ago
4 Warnings
:warning: This PR may need tests.
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/AppDelegateViewModelTests.swift:1298:39: warning: Unused Enumerated Violation: When the index is not used, .enumerated() can be removed (unused_enumerated)
:warning: This PR introduced a violation in Kickstarter: /Kickstarter-iOS/Features/SortPager/SortPagerViewController.swift:143:77: warning: Unused Enumerated Violation: When the item is not used, .indices should be used instead of .enumerated() (unused_enumerated)
:warning: This PR introduced a violation in Wire: /wire-ios/Wire-iOS/Sources/UserInterface/ConversationList/ListContent/ConversationListContentController/ViewModel/ConversationListViewModel.swift:552:65: warning: Unused Enumerated Violation: When the index is not used, .enumerated() can be removed (unused_enumerated)
17 Messages
:book: Linting Aerial with this PR took 0.2s vs 0.18s on main (11% slower)
:book: Linting Alamofire with this PR took 0.15s vs 0.15s on main (0% slower)
:book: Linting Brave with this PR took 0.65s vs 0.67s on main (2% faster)
:book: Linting DuckDuckGo with this PR took 0.5s vs 0.52s on main (3% faster)
:book: Linting Firefox with this PR took 1.11s vs 1.1s on main (0% slower)
:book: Linting Kickstarter with this PR took 0.71s vs 0.74s on main (4% faster)
:book: Linting Moya with this PR took 0.11s vs 0.11s on main (0% slower)
:book: Linting NetNewsWire with this PR took 0.28s vs 0.26s on main (7% slower)
:book: Linting Nimble with this PR took 0.14s vs 0.14s on main (0% slower)
:book: Linting PocketCasts with this PR took 0.6s vs 0.6s on main (0% slower)
:book: Linting Quick with this PR took 0.1s vs 0.1s on main (0% slower)
:book: Linting Realm with this PR took 0.51s vs 0.52s on main (1% faster)
:book: Linting Sourcery with this PR took 0.31s vs 0.31s on main (0% slower)
:book: Linting Swift with this PR took 0.39s vs 0.39s on main (0% slower)
:book: Linting VLC with this PR took 0.17s vs 0.18s on main (5% faster)
:book: Linting Wire with this PR took 1.69s vs 1.65s on main (2% slower)
:book: Linting WordPress with this PR took 1.03s vs 0.99s on main (4% slower)

Generated by :no_entry_sign: Danger