Files
react/scripts/flow/config/flowconfig
T
Jan Kassens d5ddc6543e Flow: upgrade to 0.131 (#25224)
This also downgrades the new lint warning to avoid new suppressions with this upgrade.
2022-09-09 16:21:32 -04:00

58 lines
1.2 KiB
Plaintext

[ignore]
.*/scripts/bench/.*
.*/build/.*
.*/fixtures/.*
.*/.tempUserDataDir/.*
# These shims are copied into external projects:
.*/rollup/shims/facebook-www/.*
.*/rollup/shims/react-native/.*
.*/node_modules/@snyk/.*
.*/node_modules/y18n/.*
.*/node_modules/chrome-devtools-frontend/.*
.*/node_modules/devtools-timeline-model/.*
.*/node_modules/create-react-class/.*
.*/node_modules/react-native-web/.*
.*/__mocks__/.*
.*/__tests__/.*
# TODO: noop should get its own inlinedHostConfig entry
.*/packages/react-noop-renderer/.*
%REACT_RENDERER_FLOW_IGNORES%
[include]
./node_modules/
./packages/
./scripts/
[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/react-relay-hooks.js
./scripts/flow/xplat.js
[lints]
untyped-type-import=error
# TODO: We might want to enable this this as a error (the default), it
# disallows adding undefined and numbers.
unsafe-addition=off
[options]
server.max_workers=4
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.optional_chaining=enable
exact_by_default=true
munge_underscores=false
# Substituted by createFlowConfig.js:
%REACT_RENDERER_FLOW_OPTIONS%
[version]
^0.131.0