Please sign in to comment.
lib: validate Error.captureStackTrace() calls
This adds a custom eslint rule to verify that `Error.captureStackTrace()` is only called if necessary. In most cases the helper function should be used instead. PR-URL: #26738 Reviewed-By: Gus Caplan <email@example.com> Reviewed-By: Matteo Collina <firstname.lastname@example.org> Reviewed-By: Michaël Zasso <email@example.com> Reviewed-By: Joyee Cheung <firstname.lastname@example.org>
- Loading branch information...
Showing with 15 additions and 0 deletions.