335 B
335 B
Disable Babel's error recovery for invalid escaped characters in identifiers (#10322 by @thorn0)
// Input
const \u{20} = 1
// Prettier stable
const = 1;
// Prettier main
[error] stdin: SyntaxError: Invalid Unicode escape (1:7)
[error] > 1 | const \u{20} = 1
[error] | ^ ^