[ ] Snapshot documentation in case documentation is to be released together with a code change
[ ] Release documentation in case documentation is related to a released version of ktlint and has to be published as soon as the change is merged to master
Tnx for your contribution. I have added similar logic to the class-signature rule which in the long run might replace (parts of) the paren-spacing rule.
Description
Adds support for detecting whitespace before a value argument list when it follows the type argument list of a constructor call.
This is needed to correctly detect and remove the excess whitespace in the following sample:
Checklist
Before submitting the PR, please check following (checks which are not relevant may be ignored):
At least one commit message contains a referenceCloses #<xxx>
orFixes #<xxx>
(replace<xxx>
with issue number)Documentation is updated. See difference between snapshot and release documentation
Snapshot documentation in case documentation is to be released together with a code changeRelease documentation in case documentation is related to a released version of ktlint and has to be published as soon as the change is merged to master