Please sign in to comment.
tools: replace custom new-with-error rule
Use no-restricted-syntax to implement the requirement that `Error` objects must be thrown with the `new` keyword. PR-URL: #12249 Reviewed-By: James M Snell <email@example.com> Reviewed-By: Richard Lau <firstname.lastname@example.org> Reviewed-By: Colin Ihrig <email@example.com> Reviewed-By: Teddy Katz <firstname.lastname@example.org> Reviewed-By: Gibson Fahnestock <email@example.com>
- Loading branch information...
Showing with 5 additions and 34 deletions.
Oops, something went wrong.