From 5cca2c30d8e7e5b6c1f55385f8dfcd7b3492d407 Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Sun, 5 Jul 2020 23:30:39 +0200 Subject: [PATCH] Enable SwiftLint rule 'type_name' and fix all violations --- .swiftlint.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 418dfa7..af9839e 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -170,7 +170,7 @@ whitelist_rules: - trailing_whitespace # - type_body_length # - type_contents_order -# - type_name + - type_name - unavailable_function - unneeded_break_in_switch # - unneeded_parentheses_in_closure_argument @@ -201,3 +201,5 @@ whitelist_rules: closure_body_length: warning: 40 error: 60 +type_name: + max_length: 50