You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't add SwiftFormat as SPM package, instead use command line directly
if which swiftformat >/dev/null; then
swiftformat .
else
echo "warning: SwiftFormaat not installed, download from https://github.com/nicklockwood/SwiftFormat"
fi
Then install SwiftFormat locally
brew install swiftformat
Then make some rules in any file name with extension .swiftformat
While formatting, SwiftFormat will automatically check inside each subdirectory for the presence of a .swiftformat file and will apply any options that it finds there to the files in that directory.
Don't add SwiftFormat as SPM package, instead use command line directly
Then install SwiftFormat locally
Then make some rules in any file name with extension
.swiftformat
The text was updated successfully, but these errors were encountered: