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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
The purpose of this rule is not clear.
Private methods should be considered an implementation detail.
Hoisting of nested functions was not defined prior to ES2015 and generally discouraged, which makes this rule problematic.
@DrewML assumed it was to help produce cleaner stack traces without `(anonymous)` function names, but since ES2015 function names are derived for function expressions automatically, so if that was the original purpose of the rule, that no longer is a problem.
0 commit comments