From 27f04f8d2c851d87502aabb1a90a3fc96c3372fe Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Wed, 22 May 2024 12:02:48 -0700 Subject: [PATCH] Migrate to `component_syntax=true` Reviewed By: alexmckenley Differential Revision: D57681847 fbshipit-source-id: c801dd7a16bc409e1a4f29f15850e213966b8f46 --- tools/hermes-parser/js/.flowconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hermes-parser/js/.flowconfig b/tools/hermes-parser/js/.flowconfig index c10371d7724..1a40c23ffbf 100644 --- a/tools/hermes-parser/js/.flowconfig +++ b/tools/hermes-parser/js/.flowconfig @@ -23,7 +23,7 @@ module.name_mapper='^hermes-eslint$' -> '/hermes-eslint/src/index. module.name_mapper='^hermes-transform$' -> '/hermes-transform/src/index.js' module.name_mapper='^prettier-plugin-hermes-parser$' -> '/prettier-plugin-hermes-parser/src/index.js' -experimental.component_syntax=parsing +component_syntax=true experimental.global_find_ref=true enums=true