ITADN

Enable to configure the `no-unused-vars` rule to disable function parameters

#695Opengonzaotc 创建于 2025-07-10
G
gonzaotccommented
Currently, the `no-unused-vars` rule applies by default also to function parameters, which may not be desired in some cases such as abstract contracts and virtual functions which use named parameters to provide a corresponding NatSpec definition for better understanding. I would like to be able to configure the rule such that it applies to common variables but not to function params. Thanks!
1 条评论