[Update] info
This commit is contained in:
parent
1181278091
commit
14cce365b8
|
|
@ -233,10 +233,10 @@ custom_rules:
|
|||
message: "Too complex expression for single line closure. Improve readability by making it multiline."
|
||||
severity: error
|
||||
|
||||
addSubview_cell:
|
||||
name: "AddSubview cell"
|
||||
regex: '(extension|class)\s*\w+Cell:(?s).*(self\.|\s{2,})add(Subv|V)iews?\(\w'
|
||||
message: "Using addSubview or addSubviews incorrect"
|
||||
addSubview_in_cell:
|
||||
name: "Usage addSubview in cell"
|
||||
regex: '(extension|class)\s*\w+Cell(:| )(?s).*(self\.|\s{2,})add(Subv|V)iews?\(\w'
|
||||
message: "Use сontentView instead of self for addSubview or addSubviews methods."
|
||||
severity: error
|
||||
|
||||
# Rx
|
||||
|
|
|
|||
Loading…
Reference in New Issue