Commit graph

15 commits

Author SHA1 Message Date
Danny Mösch
ba1a81170b
Update SwiftLint to version 0.52.x, fix new violations or disable them (#618) 2023-06-25 10:21:45 -07:00
Danny Mösch
d9bd0f3014
Update SwiftLint and SwiftFormat (#613)
* Update Swift version used by SwiftFormat

* Update SwiftLint version

* Rely on new virtual 'all' rule in SwiftLint

* Enable SwiftLint rule 'direct_return' rule and fix all violations

* Enable SwiftLint rule 'shorthand_optional_binding' rule and fix all violations

* Enable SwiftLint rule 'blanket_disable_command' rule and fix all violations
2023-04-23 13:01:37 -07:00
Mingshen Sun
e6c9440bff swiftlint 0.50.* is required 2023-03-09 11:40:33 -08:00
Danny Mösch
e2ba21587c
Update SwiftLint to version 0.49.x (#576) 2022-11-01 11:47:26 -07:00
Mingshen Sun
440b0123f2 Fix building issues with XCode 2022-05-23 10:54:11 -07:00
Danny Moesch
1128292831
Update SwiftLint to version 0.46.x (#541) 2022-01-24 22:52:12 -08:00
Danny Moesch
aad23582f9
Update SwiftLint to version 0.45.x (#522)
* Use SwiftLint version 0.45.x
* Enable SwiftLint rule 'self_in_property_initialization' and handle all violations
2021-12-27 14:58:02 -08:00
Danny Mösch
82eb13f43c
Update SwiftLint to version 0.44.0 (#507) 2021-09-15 17:43:14 -07:00
Danny Moesch
3f75591484 Use SwiftLint version 0.43.x 2021-03-07 16:42:08 -08:00
Danny Moesch
9487eea192 Invert check for "Release" build
This makes the scripts runnable directly from the terminal where the
'CONFIGURATION' variable is not set to any value.
2020-12-30 10:06:59 -08:00
Danny Moesch
43ae029bfe Use 'exit' to return from a Bash script 2020-12-30 10:06:59 -08:00
Mingshen Sun
df80d2e431
Start to use GitHub Action (#432) 2020-12-23 20:26:58 -08:00
Danny Moesch
a49f0ee5e0 Use SwiftLint version 0.42.x 2020-12-23 19:59:26 -08:00
Danny Moesch
bf3bb8d168 Use SwiftLint version 0.47.x 2020-11-10 14:03:12 -08:00
Danny Moesch
9b38cc0437 Skip SwiftLint and SwiftFormat runs on CI build
Unfortunately, there seems to be no simpler way to tell a script in Xcode that it runs on CI.
2020-08-28 16:42:30 -07:00