Skip to content

tools: enforce `throw new Error()` with lint rule

Rodrigo Muino Tomonari requested to merge github/fork/Trott/new-error into master

@evanlucas left a comment on another PR pointing out that the convention in the code base is throw new Error() over throw Error(). This PR changes the five instances of throw Error() in the code base and enforces it with a linting rule.

Merge request reports

Loading