From 599a2e30c6a38ba8585347a2623884b5f5b1f307 Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Fri, 4 Aug 2023 09:23:21 -0700 Subject: [PATCH] Actually parse .js.flow files with hermes-parser (#38774) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38774 Changelog: [Internal] Reviewed By: cortinico Differential Revision: D48047348 fbshipit-source-id: a2627766ffd73ff702880b8533f0051bcda22414 --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e1272358538527..da8717076500fb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -24,7 +24,7 @@ module.exports = { // overriding the JS config from @react-native/eslint-config to ensure // that we use hermes-eslint for all js files { - files: ['*.js', '.js.flow'], + files: ['*.js', '*.js.flow'], parser: 'hermes-eslint', rules: { // These rules are not required with hermes-eslint