solhint icon indicating copy to clipboard operation
solhint copied to clipboard

Feature request: no-unsed-functions

Open gitpusha opened this issue 5 years ago • 1 comments

Requesting new rule to be added to solhint that's similar to no-unused-vars but for no-unsed-functions and it would look at all functions that are not virtual and thus should really be used.

gitpusha avatar Oct 18 '20 16:10 gitpusha

@gitpusha As I see it, we should only apply this rule to private functions on the same contract since solhint only works at file level If a function is in contract A and another contract (B) is calling A's function, when solhint evaluates A it will show that the function is not being called...

dbale-altoros avatar Jul 26 '23 14:07 dbale-altoros