Skip to content

Commit 28e48c6

Browse files
committed
lint for unused arguments instead of silently formatting them
1 parent d5d38d6 commit 28e48c6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Coder-Desktop/.swiftformat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
--selfrequired log,info,error,debug,critical,fault
22
--exclude **.pb.swift,**.grpc.swift
3-
--condassignment always
3+
--condassignment always
4+
--disable unusedArguments

Coder-Desktop/.swiftlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ disabled_rules:
33
- trailing_comma
44
- blanket_disable_command # Used by Protobuf
55
- opening_brace # Handled by SwiftFormat
6+
opt_in_rules:
7+
- unused_parameter
68
type_name:
79
allowed_symbols: "_"
810
identifier_name:

0 commit comments

Comments
 (0)