[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."
|
message: "Too complex expression for single line closure. Improve readability by making it multiline."
|
||||||
severity: error
|
severity: error
|
||||||
|
|
||||||
addSubview_cell:
|
addSubview_in_cell:
|
||||||
name: "AddSubview cell"
|
name: "Usage addSubview in cell"
|
||||||
regex: '(extension|class)\s*\w+Cell:(?s).*(self\.|\s{2,})add(Subv|V)iews?\(\w'
|
regex: '(extension|class)\s*\w+Cell(:| )(?s).*(self\.|\s{2,})add(Subv|V)iews?\(\w'
|
||||||
message: "Using addSubview or addSubviews incorrect"
|
message: "Use сontentView instead of self for addSubview or addSubviews methods."
|
||||||
severity: error
|
severity: error
|
||||||
|
|
||||||
# Rx
|
# Rx
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue