Skip to content

Commit ad6346e

Browse files
committed
Update swiftlint
1 parent 8ef3926 commit ad6346e

5 files changed

Lines changed: 5 additions & 8 deletions

File tree

.swiftlint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ opt_in_rules:
22
- shorthand_optional_binding
33
disabled_rules: # rule identifiers to exclude from running
44
- todo
5-
- operator_whitespace
5+
- function_name_whitespace
66
- large_tuple
77
- closure_parameter_position
88
- inclusive_language # sqlite_master etc.
@@ -12,7 +12,7 @@ included: # paths to include during linting. `--path` is ignored if present. tak
1212
- Tests
1313
- Package.swift
1414
excluded: # paths to ignore during linting. overridden by `included`.
15-
- .build
15+
- "*/.build/*"
1616

1717
identifier_name:
1818
excluded:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IOS_SIMULATOR = iPhone 14
44
IOS_VERSION = 16.4
55

66
# tool settings
7-
SWIFTLINT_VERSION=0.52.2
7+
SWIFTLINT_VERSION=0.63.1
88
SWIFTLINT=bin/swiftlint-$(SWIFTLINT_VERSION)
99
SWIFTLINT_URL=https://github.com/realm/SwiftLint/releases/download/$(SWIFTLINT_VERSION)/portable_swiftlint.zip
1010
XCBEAUTIFY_VERSION=3.1.2

Sources/SQLite/Typed/Operators.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323
//
24-
25-
// TODO: use `@warn_unused_result` by the time operator functions support it
26-
24+
// swiftlint:disable file_length
2725
private enum Operator: String, Sendable {
2826
case plus = "+"
2927
case minus = "-"

Sources/SQLite/Typed/Query.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
// THE SOFTWARE.
2323
//
24+
// swiftlint:disable file_length
2425
import Foundation
2526

2627
public protocol QueryType: Expressible {

Tests/.swiftlint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
parent_config: ../.swiftlint.yml
2-
31
disabled_rules:
42
- force_cast
53
- force_try

0 commit comments

Comments
 (0)