mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Update Sourcery template and tests
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
// Copyright © 2015 Realm. All rights reserved.
|
||||
//
|
||||
|
||||
public let masterRuleList = RuleList(rules:
|
||||
public let masterRuleList = RuleList(rules: [
|
||||
{% for rule in types.structs where rule.name|hasSuffix:"Rule" or rule.name|hasSuffix:"Rules" %} {{ rule.name }}.self{% if not forloop.last %},{% endif %}
|
||||
{% endfor %})
|
||||
{% endfor %}])
|
||||
|
||||
@@ -360,6 +360,7 @@ extension RulesTests {
|
||||
("testUnusedClosureParameter", testUnusedClosureParameter),
|
||||
("testUnusedEnumerated", testUnusedEnumerated),
|
||||
("testValidIBInspectable", testValidIBInspectable),
|
||||
("testVerticalParameterAlignmentOnCall", testVerticalParameterAlignmentOnCall),
|
||||
("testVerticalParameterAlignment", testVerticalParameterAlignment),
|
||||
("testVoidReturn", testVoidReturn),
|
||||
("testSuperCall", testSuperCall),
|
||||
|
||||
Reference in New Issue
Block a user