crystal-ameba / ameba

A static code analysis tool for Crystal

Home Page:https://crystal-ameba.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naming/BlockParameterName with ignored names

jwoertink opened this issue · comments

Related: #453

I have a block parameter that starts with _ indicating that this value is ignored, but since it still has a single letter, Ameba picks it up as a name that shouldn't be used

image

Maybe for this option, if the block parameter starts with _ then Ameba could ignore it regardless of what it's called?

Yes, it can be definitely ignored