Skip to content

Commit 8932ca3

Browse files
authored
[playground] Partially revert facebook#32009 (facebook#32035)
I had forgotten that our default error reporting threshold was `none` due to the fact that build pipelines should not throw errors. This resets it back to throwing on all errors which mostly is the same as the eslint plugin. Closes facebook#32014.
1 parent c4595ca commit 8932ca3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/apps/playground/components/Editor/EditorImpl.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ function invokeCompiler(
7878
logEvent: () => {},
7979
},
8080
environment,
81+
panicThreshold: 'all_errors',
8182
});
8283
const ast = parseInput(source, language);
8384
let result = transformFromAstSync(ast, source, {

0 commit comments

Comments
 (0)