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
As a followup of #23511, a new ESLint rule should be put in place in the monorepo, so that we can discourage the usage of generic errors, and enforce the usage of the new errors framework.
A new custom, local rule is created in the monorepo
It warns when throw new Error is found
It recommends the usage of the new errors framework
As a followup of #23511, a new ESLint rule should be put in place in the monorepo, so that we can discourage the usage of generic errors, and enforce the usage of the new errors framework.
throw new Error
is foundOnce all errors are converted, the rule should be changed from
warn
toerror
The text was updated successfully, but these errors were encountered: