Skip to content

Commit 0a0ce84

Browse files
SamChou19815facebook-github-bot
authored andcommitted
Also parse js.flow files with hermes-parser (facebook#39048)
Summary: Pull Request resolved: facebook#39048 Similar to D48047348, we should also use hermes-parser to parse .js.flow files to support newer Flow syntax. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D48398780 fbshipit-source-id: 280ac546493361c4421449f86bf3f735b93a18e8
1 parent 492c9d1 commit 0a0ce84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"overrides": [
1010
{
1111
"files": [
12-
"*.js"
12+
"*.js",
13+
"*.js.flow"
1314
],
1415
"options": {
1516
"parser": "hermes"

0 commit comments

Comments
 (0)