resharper-cognitivecomplexity
resharper-cognitivecomplexity copied to clipboard
Local functions add complexity to method
I frequently use local functions to improve readability of methods, but plugin sees it not as separate function, but part of method and adds complexity from local functions to complexity of method itself. Is there any way to avoid it (except making local functions as method)?
Hi @aliyailina, there's no such setting and it's currently also not planned to introduce something like that. I will keep this issue open to track the demand.