Open stephane-archer opened 2 months ago
Maybe.
If you override the method in subclasses inside the same library, and the other methods use the parameter.
If you tear off the method and pass it to something expecting a parameter.
Can an optional lint, in that case, could make sense? Not everyone needs to do this and an unused parameters can be hard to spot in your codebase.
does it make any sense to have unused function parameters when the function is private in a class?