File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181 . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
8282 hash -r
8383
84- # Install Swift 5.10 (compatible with SwiftLint 0.61.0 )
85- swiftly install 5.10
84+ # Install Swift 6.0 (compatible with SwiftLint 0.63.2 )
85+ swiftly install 6.0
8686 swift --version
8787
8888 # Export Swift toolchain path for SwiftLint's SourceKit
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ only_rules:
5050 - number_separator
5151 - opening_brace
5252 - operator_usage_whitespace
53- - operator_whitespace
53+ - function_name_whitespace
5454 - overridden_super_call
5555 - private_outlet
5656 - private_unit_test
5757 - prohibited_super_call
5858 - redundant_nil_coalescing
59- - redundant_optional_initialization
59+ - implicit_optional_initialization
6060 - redundant_string_enum_value
6161 - redundant_void_return
6262 - return_arrow_whitespace
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ if [ -z "$SWIFT_PATH" ]; then
2121 exit 1
2222fi
2323
24- LINUX_BIN=" https://github.com/realm/SwiftLint/releases/download/0.61.0 /swiftlint_linux_amd64.zip"
25- LINUX_SHA=" sha256:02f4f580bbb27fb618dbfa24ce2f14c926461c85c26941289f58340151b63ae4 "
26- DARWIN_BIN=" https://github.com/realm/SwiftLint/releases/download/0.61.0 /portable_swiftlint.zip"
27- DARWIN_SHA=" sha256:2342f3784307a02117e18f745fcd350c6acc6cab0e521c0c0e01c32a53a3b274 "
24+ LINUX_BIN=" https://github.com/realm/SwiftLint/releases/download/0.63.2 /swiftlint_linux_amd64.zip"
25+ LINUX_SHA=" sha256:dd1017cfd20a1457f264590bcb5875a6ee06cd75b9a9d4f77cd43a552499143b "
26+ DARWIN_BIN=" https://github.com/realm/SwiftLint/releases/download/0.63.2 /portable_swiftlint.zip"
27+ DARWIN_SHA=" sha256:c59a405c85f95b92ced677a500804e081596a4cae4a6a485af76065557d6ed29 "
2828
2929if [[ " $OSTYPE " == " darwin" * ]]; then
3030 EXPECTED_SHA=" $DARWIN_SHA "
You can’t perform that action at this time.
0 commit comments