A documentation comment describes a @param that the function or class does not have
What it finds
A @param tag that names no parameter is usually left over from a rename or a removed parameter, and documents something that is not there. Type parameters and the properties of a primary constructor count as parameters.
From the rule's source, kdoc_unknown_param.rs.
Turn it on, off or suppress it
The rule runs from the recommended tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/kotlin:documented-parameter-missing" = "warning"To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:
// tx0: ignore[tx0/kotlin:documented-parameter-missing] reason="..."tx0 explain tx0/kotlin:documented-parameter-missing shows the same in the terminal. Found a false positive? Report it.