[Update] info

This commit is contained in:
Vlad 2020-05-21 11:49:23 +03:00
parent 1181278091
commit 14cce365b8
1 changed files with 4 additions and 4 deletions

View File

@ -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