Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwiftLint fixes part 3 #462

Merged
merged 35 commits into from
Aug 17, 2023
Merged

SwiftLint fixes part 3 #462

merged 35 commits into from
Aug 17, 2023

Conversation

samsymons
Copy link
Contributor

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/0/1205234591569346/f
iOS PR: No changes needed, please drop BSK onto the iOS repo to test
macOS PR: No changes needed, please drop BSK onto the iOS repo to test
What kind of version bump will this require?: Patch, no functional changes are made

Optional:

Tech Design URL:
CC:

Description:

This PR fixes all remaining SwiftLint violations.

Steps to test this PR:

  1. Check that CI passes
  2. Check that swiftlint . passes when you have this branch checked out locally, as it will lint all files

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

This file had a ton of warnings, and I’m not sure if we care as much about this type of warning for test files.
It’s reasonable to see these used in test files, but not production code.
# By Sam Symons (3) and others
# Via GitHub
* main:
  Moved iOS Extension to BSK (#458)
  Bump Tests/BrowserServicesKitTests/Resources/privacy-reference-tests (#431)
  feat: duck player v2 (#451)
  Update NetP endpoint (#456)
  BSK SwiftLint fixes part 2: Disable some test suite warnings (#453)
  BSK SwiftLint fixes part 1: Autofix many SwiftLint warnings (#452)
  Add support for syncing Credentials (#425)
  Update autofill to 8.1.2 (#457)
  NetP - Create observers to extract from StatusReporter (#445)

# Conflicts:
#	Sources/BookmarksTestsUtils/BookmarkTree.swift
#	Sources/BrowserServicesKit/Autofill/AutofillUserScript+SecureVault.swift
#	Sources/BrowserServicesKit/SecureVault/AutofillSecureVault.swift
#	Sources/BrowserServicesKit/SecureVault/SecureVaultManager.swift
#	Sources/BrowserServicesKit/SecureVault/SecureVaultModels.swift
#	Sources/BrowserServicesKit/Suggestions/Suggestion.swift
#	Sources/SyncDataProviders/Bookmarks/BookmarksProvider.swift
#	Tests/.swiftlint.yml
#	Tests/BrowserServicesKitTests/SecureVault/MockAutofillDatabaseProvider.swift
#	Tests/BrowserServicesKitTests/SecureVault/VaultFactoryTests.swift
#	Tests/NavigationTests/ClosureNavigationResponderTests.swift
#	Tests/NavigationTests/Helpers/NavigationTestHelpers.swift
#	Tests/NavigationTests/NavigationAuthChallengeTests.swift
#	Tests/SecureStorageTests/TestMocks.swift
.swiftlint.yml Outdated Show resolved Hide resolved
@samsymons samsymons merged commit 3649259 into main Aug 17, 2023
3 checks passed
@samsymons samsymons deleted the sam/swiftlint-fixes-part-3 branch August 17, 2023 18:13
samsymons added a commit that referenced this pull request Aug 17, 2023
* main:
  Merge Hotfix 74.0.1-1 (#465)
  SwiftLint fixes part 3 (#462)
  Moved iOS Extension to BSK (#458)
samsymons added a commit that referenced this pull request Aug 20, 2023
# By Sam Symons (2) and others
# Via GitHub
* main:
  Update WireGuard version (#460)
  Merge Hotfix 74.0.1-1 (#465)
  SwiftLint fixes part 3 (#462)
  Moved iOS Extension to BSK (#458)
  Bump Tests/BrowserServicesKitTests/Resources/privacy-reference-tests (#431)
  feat: duck player v2 (#451)

# Conflicts:
#	Sources/BrowserServicesKit/PrivacyConfig/AppPrivacyConfiguration.swift
#	Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift
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.

3 participants