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

Replace SwiftLintPlugin with SwiftLintTool #2710

Merged
merged 8 commits into from
Apr 18, 2024
Merged

Conversation

mallexxx
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/1201037661562251/1206803066031565/f
apple-toolbox PR: duckduckgo/apple-toolbox#3
BSK PR: duckduckgo/BrowserServicesKit#774
macOS PR: https://github.com/duckduckgo/macos-browser/pull/2601

Description:

  • Removed SwiftLintPlugin from build targets
  • Converted SwiftLintPlugin to a standalone tool leaving the plugin support
  • Added extra macOS SwiftLintToolBundle macOS target so the SwiftLintPlugin is build for macOS instead of iOS

Steps to test this PR:

  1. Validate linter is running against all .swift files in a project including ones from other git repo folders

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@mallexxx mallexxx requested a review from ayoy April 11, 2024 10:02
@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label Apr 11, 2024
@github-actions github-actions bot removed the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label Apr 11, 2024
@ayoy ayoy assigned mallexxx and unassigned mallexxx Apr 17, 2024
Copy link
Contributor

@ayoy ayoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 (but see comments)

DuckDuckGo.xcodeproj/project.pbxproj Outdated Show resolved Hide resolved
ayoy

This comment was marked as off-topic.

mallexxx added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Apr 18, 2024
@mallexxx mallexxx merged commit 23d089d into main Apr 18, 2024
13 checks passed
@mallexxx mallexxx deleted the alex/swiftlinttool branch April 18, 2024 10:24
samsymons added a commit that referenced this pull request Apr 20, 2024
# By Daniel Bernal (11) and others
# Via Mariusz Śpiewak (3) and others
* main: (63 commits)
  Release 7.115.1-1 (#2770)
  Fix iOS auto-clearing fails to remove cookies (#2769)
  Release 7.115.1-0 (#2768)
  Fix iOS auto-clearing fails to remove cookies (#2767)
  iOS: VPN screen improvements (#2721)
  Release 7.116.0-2 (#2763)
  Remove "Thank You" prompt (#2762)
  Test to ensure that page refresh doesn't affect url bar focus (#2749)
  Add support for uploading crash reports to Sentry (#2720)
  Replace SwiftLintPlugin with SwiftLintTool (#2710)
  Release 7.116.0-1 (#2761)
  Remove validator app (#2754)
  Fix crash when quickly adding/removing tabs in switcher (#2760)
  Fix settings navigation bar colors after reopening (#2758)
  Alpha ad-hoc lane (#2492)
  Keep a weak reference to UserScriptMessageBroker (#2755)
  Add refresh config cell to top of debug (#2735)
  VPN: Replace available interfaces in VPN metadata (#2750)
  Require device auth to be set in order to use Sync (#2722)
  Add new iOS pixels for measuring navigation  (#2730)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo/AppDelegate.swift
#	DuckDuckGo/MainViewController.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.

None yet

2 participants