Files
react/scripts/flow/config/flowconfig
T
Jan Kassens 70484844bf [BE] switch to hermes parser for prettier (#30421)
This will allow us to parse new flow syntax since the `flow` parser is
no longer updated.

I had to exclude some files and have them fall back to `flow` parser
since they contain invalid graphql syntax that makes the plugin crash.
2024-07-22 19:16:13 -04:00

44 lines
905 B
Plaintext

[ignore]
.*/scripts/bench/.*
.*/build/.*
.*/fixtures/.*
# Any hidden directory
.*/\..*
# These shims are copied into external projects:
.*/rollup/shims/facebook-www/.*
.*/rollup/shims/react-native/.*
.*/node_modules/fbjs/lib/keyMirrorRecursive.js.flow
.*/node_modules/resolve/test/.*
.*/__mocks__/.*
.*/__tests__/.*
# contains modern flow syntax that requires a Flow upgrade
.*/node_modules/prettier-plugin-hermes-parser/.*
# TODO: noop should get its own inlinedHostConfig entry
.*/packages/react-noop-renderer/.*
%REACT_RENDERER_FLOW_IGNORES%
[libs]
./node_modules/fbjs/flow/lib/dev.js
./scripts/flow/environment.js
./scripts/flow/react-devtools.js
./scripts/flow/react-native-host-hooks.js
./scripts/flow/xplat.js
[lints]
untyped-type-import=error
[options]
%CI_MAX_WORKERS%
munge_underscores=false
# Substituted by createFlowConfig.js:
%REACT_RENDERER_FLOW_OPTIONS%
[version]
%FLOW_VERSION%