Example:
sub testTypeAnnotation(doOption = false)
end sub
Currently, this would fail the type-annotation rule, but doOption param would be known as a boolean, and adding a type to it is superfluous
Perhaps we could add a args-allow-default and all-allow-default options for the type-annotation rule
Example:
Currently, this would fail the
type-annotationrule, butdoOptionparam would be known as aboolean, and adding a type to it is superfluousPerhaps we could add a
args-allow-defaultandall-allow-defaultoptions for thetype-annotationrule