Skip to content

Commit b8c85f7

Browse files
authored
Improve swiftformat usage docs (#10481)
1 parent ab2ab49 commit b8c85f7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,12 @@ To develop Firebase software, **install**:
122122
* [Xcode] (v12.2 or later) (for Googlers, visit [go/xcode](go/xcode)) to
123123
download.
124124
* <details>
125-
<summary>Code styling tools: <b>clang-format</b> & <b>mint</b></summary>
125+
<summary>Code styling tools: <b>clang-format</b>, <b>swiftformat</b> and
126+
<b>mint</b></summary>
126127

127128
<!-- The above line is intentionally left blank. -->
128-
Firebase use's a style script that requires [clang-format] and [mint].
129+
Firebase use's a style script that requires [clang-format] and [mint]. [mint]
130+
installs [swiftformat] for Swift styling.
129131

130132
To install [clang-format] and [mint] using [Homebrew]:
131133

@@ -250,7 +252,8 @@ the project.
250252

251253
#### **Style Guide**
252254

253-
This code in this repo is styled in accordance to `clang-format` conventions.
255+
This code in this repo is styled in accordance to `swiftformat` and
256+
`clang-format` conventions.
254257

255258
#### Styling your code
256259

0 commit comments

Comments
 (0)