mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 16:25:54 +03:00
[PR #83] [MERGED] feat: Add SwiftLint #1451
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PlayCover/PlayCover/pull/83
Author: @Candygoblen123
Created: 7/22/2022
Status: ✅ Merged
Merged: 7/22/2022
Merged by: @Depal1
Base:
develop← Head:swiftlint📝 Commits (5)
d2ba57cadd .swiftlint.yml35672e5Fix linting issues1ff44e4add swiftlint step to Xcode1235f2cMerge branch 'develop' of https://github.com/PlayCover/PlayCover into swiftlint4330551fix a few merge errors📊 Changes
42 files changed (+956 additions, -875 deletions)
View changed files
➕
.swiftlint.yml(+12 -0)📝
PlayCover.xcodeproj/project.pbxproj(+18 -0)📝
PlayCover/AppInstaller/Installer.swift(+18 -18)📝
PlayCover/AppInstaller/Utils/Entitlements.swift(+43 -44)📝
PlayCover/AppInstaller/Utils/IPA.swift(+17 -15)📝
PlayCover/AppInstaller/Utils/TempAllocator.swift(+16 -15)📝
PlayCover/AppInstaller/Utils/Unarchiver.swift(+7 -6)📝
PlayCover/IntentFlow/UserIntentFlow.swift(+5 -5)📝
PlayCover/Model/AppContainer.swift(+25 -23)📝
PlayCover/Model/AppInfo.swift(+31 -25)📝
PlayCover/Model/AppSettings.swift(+68 -64)📝
PlayCover/Model/BaseApp.swift(+14 -14)📝
PlayCover/Model/InstallApp.swift(+39 -32)📝
PlayCover/Model/PhysicialApp.swift(+11 -11)📝
PlayCover/Model/PlayApp.swift(+45 -38)📝
PlayCover/Model/PlayRules.swift(+7 -9)📝
PlayCover/Model/StoreApp.swift(+15 -18)📝
PlayCover/PlayCoverError.swift(+7 -5)📝
PlayCover/Services/NotifyService.swift(+6 -8)📝
PlayCover/Services/SoundDeviceService.swift(+10 -8)...and 22 more files
📄 Description
Please note that unless this PR is up to date with develop, there will be merge conflicts.
adds SwiftLint, and fixes all listing errors, save a few that I disabled listing for because of the complexity of fixing them
also removed most unsafe operations, like force casting, force trying, and force unwrapping
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.