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
This issue has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from issues that aren't actionable. Please reach out if you have more information for us! 🙂
I opened this issue in the original repository:
no-useless-rest-spread
rule mysticatea/eslint-plugin#48Maybe it has more its place here now, as this fork seems to be better maintained.
In short, it would be great if this rule could be disabled for arguments in function declarations, like so:
So this:
won't be auto-fixed by this:
and no typing will be lost anymore.
Note:
Called functions shouldn't be concerned.
So, this:
should stay auto-fixed like so:
(because there's no reason to cast variables passed to a function)
The text was updated successfully, but these errors were encountered: