mirror of
https://github.com/clawdbot/clawdbot.git
synced 2026-01-31 19:37:45 +01:00
- scripts/bundle-a2ui.sh: A2UI_APP_DIR path - package.json: format:swift and protocol:check paths - scripts/protocol-gen-swift.ts: output paths - .github/dependabot.yml: directory path and comment - .gitignore: build cache paths - .swiftformat: exclusion paths - .swiftlint.yml: exclusion path - apps/android/app/build.gradle.kts: assets.srcDir path - apps/ios/project.yml: package path - apps/ios/README.md: documentation reference - docs/concepts/typebox.md: documentation reference - apps/shared/MoltbotKit/Package.swift: fix argument order
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
# SwiftFormat configuration adapted from Peekaboo defaults (Swift 6 friendly)
|
|
|
|
--swiftversion 6.2
|
|
|
|
# Self handling
|
|
--self insert
|
|
--selfrequired
|
|
|
|
# Imports / extensions
|
|
--importgrouping testable-bottom
|
|
--extensionacl on-declarations
|
|
|
|
# Indentation
|
|
--indent 4
|
|
--indentcase false
|
|
--ifdef no-indent
|
|
--xcodeindentation enabled
|
|
|
|
# Line breaks
|
|
--linebreaks lf
|
|
--maxwidth 120
|
|
|
|
# Whitespace
|
|
--trimwhitespace always
|
|
--emptybraces no-space
|
|
--nospaceoperators ...,..<
|
|
--ranges no-space
|
|
--someAny true
|
|
--voidtype void
|
|
|
|
# Wrapping
|
|
--wraparguments before-first
|
|
--wrapparameters before-first
|
|
--wrapcollections before-first
|
|
--closingparen same-line
|
|
|
|
# Organization
|
|
--organizetypes class,struct,enum,extension
|
|
--extensionmark "MARK: - %t + %p"
|
|
--marktypes always
|
|
--markextensions always
|
|
--structthreshold 0
|
|
--enumthreshold 0
|
|
|
|
# Other
|
|
--stripunusedargs closure-only
|
|
--header ignore
|
|
--allman false
|
|
|
|
# Exclusions
|
|
--exclude .build,.swiftpm,DerivedData,node_modules,dist,coverage,xcuserdata,Peekaboo,Swabble,apps/android,apps/ios,apps/shared,apps/macos/Sources/MoltbotProtocol
|