Update from hummingbird-project-template 0b21a9564b4c2579531565487e1d7389e8c2be4c (#34)
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5c75f772c3
commit
a66a7d139c
2
.github/workflows/validate.yml
vendored
2
.github/workflows/validate.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 )"
|
||||
|
||||
Reference in New Issue
Block a user