[Add] rule contentView in cell rule

This commit is contained in:
Vlad 2020-05-21 10:44:40 +03:00
parent 0bc3cb3360
commit 6986100357
1 changed files with 6 additions and 0 deletions

View File

@ -233,6 +233,12 @@ custom_rules:
message: "Too complex expression for single line closure. Improve readability by making it multiline."
severity: error
addSubview_cell:
name: "AddSubview cell"
regex: '\s*class\s*\w+Cell:.*|\s*((self\.)|\s)addSubviews?\('
message: "Using addSubview or addSubviews incorrect"
severity: error
# Rx
unused_map_parameter: