Adopt the rules-swift pin-and-codify strategy in snapshot mode (third_party/rules-swift @97dc70f + sha256), add codified gates, a conformance audit ledger, and .github/workflows/rules-swift.yml (corpus-pin integrity required, full gate report mode). Remove the docs/rules mirror it supersedes (repo-specific files kept under docs/). Style and leak gates exclude the vendored corpus.
13 lines
362 B
Plaintext
13 lines
362 B
Plaintext
# SwiftFormat configuration. https://github.com/nicklockwood/SwiftFormat
|
|
# This is a starting point; adjust to your project, but keep it committed so
|
|
# every clone and CI run formats identically.
|
|
|
|
--swiftversion 6.0
|
|
--indent 4
|
|
--maxwidth 180
|
|
--commas always
|
|
--self remove
|
|
--importgrouping testable-bottom
|
|
--trailingclosures
|
|
--exclude .build,Packages/.build,.git
|