Enable SwiftLint rule 'identifier_name' and handle all violations
This commit is contained in:
parent
7ada4dd96d
commit
e8389eb262
21 changed files with 157 additions and 156 deletions
|
|
@ -77,7 +77,7 @@ whitelist_rules:
|
|||
- generic_type_name
|
||||
- ibinspectable_in_extension
|
||||
- identical_operands
|
||||
# - identifier_name
|
||||
- identifier_name
|
||||
- implicit_getter
|
||||
- implicit_return
|
||||
# - implicitly_unwrapped_optional
|
||||
|
|
@ -212,6 +212,9 @@ attributes:
|
|||
closure_body_length:
|
||||
warning: 40
|
||||
error: 60
|
||||
identifier_name:
|
||||
excluded: ["id", "to", "Defaults"]
|
||||
allowed_symbols: ["_"]
|
||||
type_name:
|
||||
max_length: 50
|
||||
trailing_closure:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue