浏览代码

Update SwiftFormat version (#1639)

Motivation:

Some changes cause the formatter to throw an error while formatting.
This particular bug was fixed in 0.52.0.

Modifications:

- Update the formatter version to 0.52.0
- Update the rules applied to minimise the diff from updating
- Run the formatter

Results:

- Formatter is up-to-date.
George Barnett 2 年之前
父节点
当前提交
2be4aeba95
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/format.sh

+ 1 - 1
scripts/format.sh

@@ -22,7 +22,7 @@ SWIFTFORMAT_DIR="$HERE/.swiftformat-source"
 
 # Important: if this is changed then make sure to update the version
 # in the .github/workflows/ci.yaml as well!
-SWIFTFORMAT_VERSION=0.49.4
+SWIFTFORMAT_VERSION=0.52.0
 
 # Clone SwiftFormat if we don't already have it.
 if [ ! -d "$SWIFTFORMAT_DIR" ]; then