From 20320a56e4f6074dbab8ef74c1bd78948ffaaa5b Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 7 Apr 2023 09:52:19 +0800 Subject: [PATCH] Fix typo (#14653) --- changelog_unreleased/javascript/14314.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog_unreleased/javascript/14314.md b/changelog_unreleased/javascript/14314.md index cbeaf52d5..d8692fac6 100644 --- a/changelog_unreleased/javascript/14314.md +++ b/changelog_unreleased/javascript/14314.md @@ -1,3 +1,3 @@ #### [BREAKING] Remove Flow syntax support from `babel` parser (#14314 by @fisker, @thorn0) -For historical reasons, Prettier used to recognize Flow syntax in JS files when the `parser` option was set to `babel` even if the file didn't include the `@flow` pragma. This support was limited and bad for performance, so it has been removed in Prettier main. Prettier with the `babel` parser still automatically switches to the Flow syntax if it finds the `@flow` pragma or the file has the `.flow.js` extension. +For historical reasons, Prettier used to recognize Flow syntax in JS files when the `parser` option was set to `babel` even if the file didn't include the `@flow` pragma. This support was limited and bad for performance, so it has been removed in Prettier main. Prettier with the `babel` parser still automatically switches to the Flow syntax if it finds the `@flow` pragma or the file has the `.js.flow` extension.