Files
SwiftLint/.sourcery/BuiltInRules.stencil
Danny Mösch 58928b7e40 Enforce any on existential types (#5273)
This makes syntactically clear which types are rather expensive.
2023-10-12 08:37:23 +02:00

6 lines
257 B
Plaintext

/// The rule list containing all available rules built into SwiftLint.
public let builtInRules: [any Rule.Type] = [
{% for rule in types.structs where rule.name|hasSuffix:"Rule" %} {{ rule.name }}.self{% if not forloop.last %},{% endif %}
{% endfor %}]