Report violation when parameter list is preceded by a comment by paul-dingemans · Pull Request #2541 · ktlint/ktlint (original) (raw)

Description

Report violation when parameter list is preceded by a comment

Comments are not allowed between a class/function name and the parameter list.

Closes #2535

Checklist

Before submitting the PR, please check following (checks which are not relevant may be ignored):

Documentation is updated. See difference between snapshot and release documentation