Restricts the number of return statements in methods (2 by default). Ignores methods that matches ignoreFormat regex property.
ignoreFormat
{ "type": "ReturnCount", "props": { "ignoreFormat": "^$", "max": 2, "severity": "WARNING" } }