[eslint-plugin] Throw non CompilerErrors
Lauren Tan committed
Jun 15, 2023 at 14:34 UTC
b68c409a6b8adb0e58d978b4d085b1197c030ac9
1 file changed
+2
compiler/forget/packages/eslint-plugin-react-forget/src/rules/ReactForgetDiagnostics.ts
+2
@@ -48,6 +48,8 @@ const rule: Rule.RuleModule = {
48
});
49
}
50
}
51
+ } else {
52
+ throw new Error(err);
53
}
54
}
55
},