Closed ghost closed 8 months ago
Is this behaviour expected?
@solid-daniilmarchenko yeah looks like a bug -- could be stemming from the fact that we're checking both function declaration and function body -- where one contains another, IIRC. Maybe just check function bodies? Give it a try.
it looks like we really don't need FunctionDeclaration
but removing it doesn't really fix all of the warning duplications.
i've tried to check other node types (including the BlockFunctionBody
) that we could use instead of the current ones but it doesnt look to work fine anyway.
Is this behaviour expected?
Seems like a bug.
We have two linter warnings around one function: the one right before the 'void' keyword and second near brackets.