I would find it useful to allow the use of comments in the source code to configure natspec-smells in a given line or file. I find myself wanting to disable the linter on certain functions like this, similar to solhint:
// natspec-smells-disable-next-line
function transferTo(address to, uint amount) public {
require(tx.origin == owner);
to.call.value(amount)();
}
I would find it useful to allow the use of comments in the source code to configure natspec-smells in a given line or file. I find myself wanting to disable the linter on certain functions like this, similar to solhint: