Skip to content

Commit 943fb4f

Browse files
committed
Add a 'warning_threshold' to the .swiftlint.yml file.
1 parent b8f2e54 commit 943fb4f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.swiftlint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ identifier_name:
77
- id
88
- ex
99
- to
10-
- ws
10+
- ws
11+
12+
# This generates a compiler error if more than this many SwiftLint warnings are present
13+
# (This threshold can become more restrictive as remaining warnings are resolved via refactoring)
14+
warning_threshold: 25

0 commit comments

Comments
 (0)