Skip to content

fix "dev swift fix" command#231

Open
markmur wants to merge 1 commit into
mainfrom
dev-swift-fix
Open

fix "dev swift fix" command#231
markmur wants to merge 1 commit into
mainfrom
dev-swift-fix

Conversation

@markmur
Copy link
Copy Markdown
Contributor

@markmur markmur commented May 28, 2026

What changes are you making?

Changed platforms/swift/Scripts/lint to run SwiftLint fix from the repo root, matching the strict pass and making root .swiftlint.yml path handling consistent. Also changed SwiftFormat to run only over Sources Tests so it no longer formats Samples, matching the root SwiftLint.

Simplified platforms/swift/.swiftformat by removing exclusions that are now unnecessary because SwiftFormat no longer scans those directories.


Before you merge

Important

  • I've added tests to support my implementation
  • I have read and agree with the Contribution Guidelines
  • I have read and agree with the Code of Conduct
  • I've updated the relevant platform README (platforms/swift/README.md and/or platforms/android/README.md)

Releasing a new Swift version?
  • I have bumped the version in ShopifyCheckoutKit.podspec
  • I have bumped the version in platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift
  • I have updated platforms/swift/CHANGELOG.md
  • I have updated the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Android version?
  • I have bumped the versionName in platforms/android/lib/build.gradle
  • I have updated platforms/android/CHANGELOG.md
  • I have updated the Gradle/Maven version snippets in platforms/android/README.md

Tip

See the Contributing documentation for the full release process per platform.

@markmur markmur self-assigned this May 28, 2026
@markmur markmur requested a review from a team as a code owner May 28, 2026 12:52
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 28, 2026

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 92%
91.59% (316/345) 87.25% (178/204) 100% (82/82)

# Run from the directory containing .swiftlint.yml so its `included:` paths
# resolve consistently.
PROJECT_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
if [[ "$MODE" == "fix" ]]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

did you say there was a second config file we could clean up?

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.

2 participants