|
1 | | ---swiftversion 5.9 |
| 1 | +# old format options: |
| 2 | +# --disable wrapMultilineStatementBraces |
| 3 | +# --disable redundantSelf |
| 4 | +# --disable preferForLoop |
2 | 5 |
|
| 6 | +--swiftversion 6.2 |
| 7 | + |
| 8 | +--acronyms ID,URL,UUID |
3 | 9 | --allman false |
4 | | ---assetliterals visual-width |
5 | | ---beforemarks |
6 | | ---binarygrouping none |
7 | | ---categorymark "MARK: %c" |
8 | | ---classthreshold 0 |
9 | | ---closingparen balanced |
10 | | -# --commas always |
11 | | ---conflictmarkers reject |
12 | | ---decimalgrouping none |
13 | | ---elseposition same-line |
14 | | ---emptybraces no-space |
15 | | ---enumthreshold 0 |
16 | | ---exponentcase lowercase |
17 | | ---exponentgrouping disabled |
18 | | ---extensionacl on-extension |
19 | | ---extensionlength 0 |
20 | | ---extensionmark "MARK: - %t + %c" |
21 | | ---fractiongrouping disabled |
| 10 | +--allow-partial-wrapping true |
| 11 | +--anonymous-for-each convert |
| 12 | +--asset-literals visual-width |
| 13 | +--async-capturing |
| 14 | +--before-marks |
| 15 | +--binary-grouping none |
| 16 | +--blank-line-after-switch-case multiline-only |
| 17 | +--call-site-paren default |
| 18 | +--category-mark "MARK: %c" |
| 19 | +--class-threshold 0 |
| 20 | +--closing-paren balanced |
| 21 | +--closure-void remove |
| 22 | +--complex-attributes preserve |
| 23 | +--computed-var-attributes preserve |
| 24 | +--conditional-assignment always |
| 25 | +--conflict-markers reject |
| 26 | +--date-format system |
| 27 | +--decimal-grouping none |
| 28 | +--default-test-suite-attributes |
| 29 | +--doc-comments preserve |
| 30 | +--else-position same-line |
| 31 | +--empty-braces no-space |
| 32 | +--enum-namespaces always |
| 33 | +--enum-threshold 0 |
| 34 | +--equatable-macro none |
| 35 | +--exponent-case lowercase |
| 36 | +--exponent-grouping disabled |
| 37 | +--extension-acl on-extension |
| 38 | +--extension-mark "MARK: - %t + %c" |
| 39 | +--extension-threshold 0 |
| 40 | +--file-macro "#file" |
| 41 | +--fraction-grouping disabled |
22 | 42 | --fragment false |
23 | | ---funcattributes preserve |
24 | | ---groupedextension "MARK: %c" |
25 | | ---guardelse auto |
26 | | ---header ignore |
27 | | ---hexgrouping none |
28 | | ---hexliteralcase uppercase |
| 43 | +--func-attributes preserve |
| 44 | +--generic-types |
| 45 | +--group-blank-lines true |
| 46 | +--grouped-extension "MARK: %c" |
| 47 | +--guard-else auto |
| 48 | +--header "// new header text" |
| 49 | +--hex-grouping none |
| 50 | +--hex-literal-case uppercase |
29 | 51 | --ifdef indent |
30 | | ---importgrouping alpha |
| 52 | +--import-grouping alpha |
31 | 53 | --indent 4 |
32 | | ---indentcase false |
33 | | ---lifecycle |
| 54 | +--indent-case false |
| 55 | +--indent-strings false |
| 56 | +--inferred-types always |
| 57 | +--init-coder-nil false |
| 58 | +--language-mode 0 |
| 59 | +--lifecycle |
| 60 | +--line-after-marks true |
| 61 | +--line-between-guards false |
34 | 62 | --linebreaks lf |
35 | | ---markextensions always |
36 | | ---marktypes always |
37 | | ---maxwidth none |
38 | | ---modifierorder |
39 | | ---nevertrailing compactMap,map,flatMap |
40 | | ---nospaceoperators |
41 | | ---nowrapoperators |
42 | | ---octalgrouping none |
43 | | ---operatorfunc spaced |
44 | | ---organizetypes actor,class,enum,struct |
45 | | ---patternlet inline |
| 63 | +--mark-categories true |
| 64 | +--mark-class-threshold 0 |
| 65 | +--mark-enum-threshold 0 |
| 66 | +--mark-extension-threshold 0 |
| 67 | +--mark-extensions always |
| 68 | +--mark-struct-threshold 0 |
| 69 | +--mark-types always |
| 70 | +--markdown-files ignore |
| 71 | +--max-width none |
| 72 | +--modifier-order |
| 73 | +--never-trailing compactMap,flatMap,map |
| 74 | +--nil-init remove |
| 75 | +--no-space-operators |
| 76 | +--no-wrap-operators |
| 77 | +--non-complex-attributes |
| 78 | +--octal-grouping none |
| 79 | +--operator-func spaced |
| 80 | +--organization-mode visibility |
| 81 | +--organize-types actor,class,enum,struct |
| 82 | +--pattern-let hoist |
| 83 | +--prefer-synthesized-init-for-internal-structs never |
| 84 | +--preserve-acronyms |
| 85 | +--preserve-decls |
| 86 | +--preserved-property-types Package |
| 87 | +--property-types inferred |
46 | 88 | --ranges spaced |
47 | | ---redundanttype inferred |
| 89 | +--redundant-async tests-only |
| 90 | +--redundant-throws tests-only |
48 | 91 | --self remove |
49 | | ---selfrequired |
| 92 | +--self-required |
50 | 93 | --semicolons never |
51 | | ---shortoptionals always |
52 | | ---smarttabs enabled |
53 | | ---stripunusedargs closure-only |
54 | | ---structthreshold 0 |
55 | | ---tabwidth unspecified |
56 | | ---trailingclosures |
57 | | ---trimwhitespace always |
58 | | ---typeattributes preserve |
59 | | ---typemark "MARK: - %t" |
60 | | ---varattributes preserve |
61 | | ---voidtype void |
62 | | ---wraparguments before-first |
63 | | ---wrapcollections before-first |
64 | | ---wrapconditions preserve |
65 | | ---wrapparameters before-first |
66 | | ---wrapreturntype preserve |
67 | | ---xcodeindentation disabled |
68 | | ---yodaswap always |
69 | | ---disable redundantReturn,wrapMultilineStatementBraces,trailingCommas,preferKeyPath |
| 94 | +--short-optionals always |
| 95 | +--single-line-for-each ignore |
| 96 | +--smart-tabs enabled |
| 97 | +--some-any true |
| 98 | +--sort-swiftui-properties none |
| 99 | +--sorted-patterns |
| 100 | +--stored-var-attributes preserve |
| 101 | +--strip-unused-args closure-only |
| 102 | +--struct-threshold 0 |
| 103 | +--swift-version 6.2 |
| 104 | +--tab-width unspecified |
| 105 | +--throw-capturing |
| 106 | +--timezone system |
| 107 | +--trailing-closures |
| 108 | +--trailing-commas always |
| 109 | +--trim-whitespace always |
| 110 | +--type-attributes preserve |
| 111 | +--type-blank-lines remove |
| 112 | +--type-body-marks preserve |
| 113 | +--type-delimiter space-after |
| 114 | +--type-mark "MARK: - %t" |
| 115 | +--type-marks |
| 116 | +--type-order |
| 117 | +--url-macro none |
| 118 | +--visibility-marks |
| 119 | +--visibility-order |
| 120 | +--void-type Void |
| 121 | +--wrap-arguments before-first |
| 122 | +--wrap-collections before-first |
| 123 | +--wrap-conditions preserve |
| 124 | +--wrap-effects preserve |
| 125 | +--wrap-enum-cases always |
| 126 | +--wrap-parameters before-first |
| 127 | +--wrap-return-type preserve |
| 128 | +--wrap-string-interpolation default |
| 129 | +--wrap-ternary default |
| 130 | +--wrap-type-aliases preserve |
| 131 | +--xcode-indentation disabled |
| 132 | +--xctest-symbols |
| 133 | +--yoda-swap always |
| 134 | +--disable docComments,docCommentsBeforeModifiers,fileHeader,opaqueGenericParameters,preferKeyPath,redundantReturn,trailingCommas,wrapMultilineStatementBraces |
| 135 | +--enable isEmpty,privateStateVariables,propertyTypes,unusedPrivateDeclarations |
0 commit comments