You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 notvirtual and thus should really be used.
The text was updated successfully, but these errors were encountered:
@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...
Requesting new rule to be added to solhint that's similar to
no-unused-vars
but forno-unsed-functions
and it would look at all functions that are notvirtual
and thus should really be used.The text was updated successfully, but these errors were encountered: