Skip to content

Commit

Permalink
Actually parse .js.flow files with hermes-parser (facebook#38774)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#38774

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D48047348

fbshipit-source-id: a2627766ffd73ff702880b8533f0051bcda22414
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Aug 4, 2023
1 parent 305dd4b commit 599a2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 599a2e3

Please sign in to comment.