Fail function does not pass validation in web scripting interface

Thanks for notifying us of this issue! I’m a bit hesitant what the right approach is here - we can relax the linter, but to be honest, I’m not sure that the suggested check() || fail() approach is the best way to write JS code… And it’s not all that shorter than something more idiomatic like:

if (!check(thingToCheck, someChecks)) {
  fail("blah") // or throw new Error("blah")
}