Report parameters that are not used.
rule : Review.Rule.Rule
Report parameters that are not used.
config =
[ NoUnused.Parameters.rule
]
This rule looks within function arguments, let functions and lambdas to find any values that are unused. It will report any parameters that are not used.
We're only offering fixes for lambdas here because we believe unused parameters in functions are a code smell that should be refactored.
Value something
is not used:
add1 number =
1
add1 number =
number + 1