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
I agree that this can be useful, but IMO the usecase is too small and specific to make an option for it. In the next version (0.8.0) I plan to add a more flexible system for filtering warnings using numeric codes, then it should be possible to use something like --ignore 212/_.* to achieve the effect of your suggestion (prefix version; 212 is code for unused argument warning, _.* is a pattern matching ignored names).
New filtering system implemented on master branch, --ignore 212/_.* works. Unfortunately bleeding-edge version is not very useful now (warning codes are not documented or displayed and there are some half-implemented new warnings). I expect to release 0.8.0 anywhere from next week to the end of January.
In developing some APIs, arguments to a function may not be used but are critical to matching the API the object defines.
Ex (horribly ugly to reduce line-height)
Perhaps using a _ suffix or prefix would be good to indicate parameters unused... probably via configuration option. Example w/ prefix applied:
The text was updated successfully, but these errors were encountered: