Update from hummingbird-project-template 0b21a9564b4c2579531565487e1d7389e8c2be4c (#34)

Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com>
This commit is contained in:
hummingbird-automation[bot]
2024-07-09 10:50:47 +01:00
committed by GitHub
parent 5c75f772c3
commit a66a7d139c
4 changed files with 5 additions and 5 deletions

View File

@@ -15,6 +15,6 @@ jobs:
- name: Install Dependencies
run: |
brew install mint
mint install NickLockwood/SwiftFormat@0.51.15 --no-link
mint install NickLockwood/SwiftFormat@0.53.10 --no-link
- name: run script
run: ./scripts/validate.sh

View File

@@ -1,5 +1,5 @@
# Minimum swiftformat version
--minversion 0.51.0
--minversion 0.53.10
# Swift version
--swiftversion 5.9
@@ -8,7 +8,7 @@
--exclude .build
# rules
--disable redundantReturn, extensionAccessControl, typeSugar, conditionalAssignment
--disable redundantReturn, extensionAccessControl, typeSugar, conditionalAssignment, preferForLoop, redundantInternal, redundantStaticSelf
# format options
--ifdef no-indent

View File

@@ -28,4 +28,4 @@ The main development branch of the repository is `main`.
### Formatting
We use Nick Lockwood's SwiftFormat for formatting code. PRs will not be accepted if they haven't be formatted. The current version of SwiftFormat we are using is v0.51.15.
We use Nick Lockwood's SwiftFormat for formatting code. PRs will not be accepted if they haven't be formatted. The current version of SwiftFormat we are using is v0.53.10.

View File

@@ -13,7 +13,7 @@
##
##===----------------------------------------------------------------------===##
SWIFT_FORMAT_VERSION=0.51.15
SWIFT_FORMAT_VERSION=0.53.10
set -eu
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"