diff --git a/templates/.swiftlint.yml.template b/templates/.swiftlint.yml.template index 25b5fb4..b40d321 100644 --- a/templates/.swiftlint.yml.template +++ b/templates/.swiftlint.yml.template @@ -114,6 +114,12 @@ large_tuple: warning: 3 error: 4 +# Allow implicitly unwrapped optionals in UI tests (common pattern for XCUIApplication) +implicitly_unwrapped_optional: + excluded: + - "**/*UITests.swift" + - "**/*UITest.swift" + # Custom rules for better code quality custom_rules: no_objcMembers: