Feat: adds clear function to HitsSource #265
Your pull request is up to standards!
Here is an overview of what got changed by this pull request:
Issues
======
- Added 5
Clones added
============
- Sources/InstantSearchSwiftUI/View/HitsList.swift 1
- Tests/InstantSearchCoreTests/Unit/MultiIndexHitsInteractorTests.swift 1
- Tests/InstantSearchCoreTests/Unit/Hits/HitsInteractorTests.swift 4
See the complete overview on Codacy
Annotations
Check warning on line 154 in Sources/InstantSearchCore/Hits/HitsInteractor.swift
codacy-production / Codacy Static Code Analysis
Sources/InstantSearchCore/Hits/HitsInteractor.swift#L154
Lines should not have trailing whitespace
Check warning on line 74 in Sources/InstantSearchSwiftUI/View/HitsList.swift
codacy-production / Codacy Static Code Analysis
Sources/InstantSearchSwiftUI/View/HitsList.swift#L74
Lines should not have trailing whitespace
Check warning on line 89 in Sources/InstantSearchSwiftUI/View/HitsList.swift
codacy-production / Codacy Static Code Analysis
Sources/InstantSearchSwiftUI/View/HitsList.swift#L89
Prefer using UTF-8 encoded strings when converting between `String` and `Data`
Check failure on line 126 in Sources/InstantSearchSwiftUI/View/HitsList.swift
codacy-production / Codacy Static Code Analysis
Sources/InstantSearchSwiftUI/View/HitsList.swift#L126
Force tries should be avoided
Check warning on line 128 in Sources/InstantSearchSwiftUI/View/HitsList.swift
codacy-production / Codacy Static Code Analysis
Sources/InstantSearchSwiftUI/View/HitsList.swift#L128
Unused parameter in a closure should be replaced with _