Update .swiftlint.yml
add final class rule for ConfigurableView and ConfigurableCell
This commit is contained in:
parent
501ff89f28
commit
121258bb25
|
|
@ -270,6 +270,12 @@ custom_rules:
|
|||
regex: '(?<!private\(set\)\s)lazy\s+var'
|
||||
message: "Lazy var can only be used with private(set) modifier."
|
||||
severity: warning
|
||||
|
||||
final_class_for_configurable:
|
||||
name: "Final class for ConfigurableView and ConfigurableCell"
|
||||
regex: '(?<!final\s)(class\s\w*:(\s\w*,)?\s(ConfigurableView|ConfigurableCell))'
|
||||
message: "Use final class for ConfigurableView and ConfigurableCell"
|
||||
severity: warning
|
||||
|
||||
# Rx
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue