rspec/rules/S1172/how-to-fix-it.adoc

1 line
282 B
Plaintext

Having unused function parameters in your code can lead to confusion and misunderstanding of a developer's intention. They reduce code readability and introduce the potential for errors. To avoid these problems, developers should remove unused parameters from function declarations.