diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6deadc1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,68 @@ +# ---> Swift +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +# *.xcodeproj +# +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + +.build/ + +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +# Pods/ +# +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build/ + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Integration test snapshot cache +integration/.forgejo-seed-snapshot.tar.gz +integration/.forgejo-seed-hash + diff --git a/.swiftformat b/.swiftformat new file mode 100644 index 0000000..e11af52 --- /dev/null +++ b/.swiftformat @@ -0,0 +1,2 @@ +--swiftversion 6.2 +--disable redundantMemberwiseInit diff --git a/.swiftlint.yml b/.swiftlint.yml new file mode 100644 index 0000000..eef552d --- /dev/null +++ b/.swiftlint.yml @@ -0,0 +1,5 @@ +# Style/formatting rules are owned by SwiftFormat. +# SwiftLint focuses on code quality and safety. +disabled_rules: + - trailing_comma + - opening_brace