File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
--patternlet inline
10
10
--stripunusedargs unnamed-only
11
11
--ifdef no-indent
12
+ --extensionacl on-declarations
13
+ --disable typeSugar
12
14
13
15
# rules
Original file line number Diff line number Diff line change @@ -335,8 +335,8 @@ public enum SystemMetrics {
335
335
}
336
336
}
337
337
338
- private extension Array where Element == String {
339
- subscript( safe index: Int ) -> String {
338
+ extension Array where Element == String {
339
+ fileprivate subscript( safe index: Int ) -> String {
340
340
guard index >= 0 , index < endIndex else {
341
341
return " "
342
342
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
26
26
27
27
# swiftformat (until part of the toolchain)
28
28
29
- ARG swiftformat_version=0.44.6
29
+ ARG swiftformat_version=0.47.4
30
30
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
31
31
RUN cd $HOME/.tools/swift-format && swift build -c release
32
32
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
You can’t perform that action at this time.
0 commit comments