title: Force new line between two functions using swiftlint
body: <p>I have added custom_rule for forcing single line space between two functions. Below is my custom rule. But it is not showing warning. Anyone having idea of this?</p>
  <pre><code>custom_rules:
          comma_space_rule:
                  include: &quot;*.swift&quot;
                  regex: '([}]\nfunc\s\w+(\(.*\))\s[{])'
                  name: &quot;Single line space between functions&quot;
                  message: &quot;Single line space violation: Expected single whitespace between functions&quot;
                  severity: warning
  </code></pre>