Skip to content

Commit 46df03f

Browse files
authored
Update to swiftlint 0.62.2 / swiftformat 0.58.6 (#252)
1 parent 773354b commit 46df03f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on:
1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
1414
cancel-in-progress: true
15-
# Keep versions in sync with README
1615
env:
17-
SWIFTLINT_VERSION: 0.61.0
18-
SWIFTFORMAT_VERSION: 0.58.3
16+
# Keep versions in sync with README
17+
SWIFTLINT_VERSION: 0.62.2
18+
SWIFTFORMAT_VERSION: 0.58.6
1919
SWIFT_HOMOMORPHIC_ENCRYPTION_ENABLE_BENCHMARKING: 1
2020
jobs:
2121
soundness:

.swiftlint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
disabled_rules:
22
- cyclomatic_complexity
3+
- extension_access_modifier
4+
- file_header # pre-commit deals with license header
35
- file_length
46
- function_body_length
57
- identifier_name
8+
- modifier_order # conflicts with swiftformat
69
- opening_brace # conflicts with swiftformat
10+
- raw_value_for_camel_cased_codable_enum # conflicts with swiftformat
711
- todo
812
- trailing_comma # conflicts with swiftformat
913
- type_body_length
1014
- vertical_parameter_alignment_on_call # conflicts with swiftformat
11-
- file_header # pre-commit deals with license header
12-
- raw_value_for_camel_cased_codable_enum # conflicts with swiftformat
13-
- extension_access_modifier
1415

1516
excluded:
1617
- "**/*pb.swift"
@@ -78,7 +79,6 @@ opt_in_rules:
7879
- local_doc_comment
7980
- lower_acl_than_parent
8081
- missing_docs
81-
- modifier_order
8282
- nimble_operator
8383
- nslocalizedstring_key
8484
- nslocalizedstring_require_bundle

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ We'd like this package to quickly embrace Swift language and toolchain improveme
153153
## Developing Swift Homomorphic Encryption
154154
### Dependencies
155155
Developing Swift Homomorphic Encryption requires:
156-
* [Nick Lockwood SwiftFormat](https://github.com/nicklockwood/SwiftFormat), 0.58.3
156+
* [Nick Lockwood SwiftFormat](https://github.com/nicklockwood/SwiftFormat), 0.58.6
157157
* [pre-commit](https://pre-commit.com)
158158
* [swift-format](https://github.com/swiftlang/swift-format), 600.0.0
159159
* [swift-protobuf](https://github.com/apple/swift-protobuf), 1.31.1
160-
* [SwiftLint](https://github.com/realm/SwiftLint), 0.61.0
160+
* [SwiftLint](https://github.com/realm/SwiftLint), 0.62.2
161161

162162
### Building
163163
You can build Swift Homomorphic Encryption either via Xcode or via command line in a terminal.

0 commit comments

Comments
 (0)