Closed zak-pawel closed 2 weeks ago
Yeah I vaguely remember this as "fixing" this lead to a lot of duplication of code where we currently have
func doSomething(allowXYZ bool) {
...
if allowXYZ {
doSomethingElse()
setSomeVar()
}
...
}
which then would need to be split into two functions... I don't see much value in this, do you?
I don't see much value in this, do you?
@srebhan I also don't see much value in enabling this.
So -1 from my side then. ;-)
Description
This issue starts a discussion about enabling:
Example configuration:
Expected output
Decision about enabling or not enabling this rule.
Findings
For this rule (with above configuration), the following findings were found in the current codebase: