Summary: First add a Flow Strict config, then enable Flow Strict Local for 13 files in xplat/sonar. each change can land seperately: drop-conflicts Reviewed By: passy Differential Revision: D13368791 fbshipit-source-id: 5bc1f9d3a179f4b9a554cc8cc629db0fda468a36
36 lines
579 B
Plaintext
36 lines
579 B
Plaintext
[ignore]
|
|
.*/scripts/.*
|
|
.*/coverage/.*
|
|
.*/node_modules/.*
|
|
.*/build/.*
|
|
.*/dist/.*
|
|
.*/static/.*
|
|
<PROJECT_ROOT>/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$
|
|
.*/website/.*
|
|
|
|
[libs]
|
|
flow-typed
|
|
|
|
[options]
|
|
esproposal.export_star_as=enable
|
|
esproposal.optional_chaining=enable
|
|
module.use_strict=true
|
|
emoji=true
|
|
all=true
|
|
include_warnings=true
|
|
module.name_mapper='flipper' -> '<PROJECT_ROOT>/src/index.js'
|
|
|
|
suppress_type=$FlowFixMe
|
|
|
|
[strict]
|
|
deprecated-type
|
|
nonstrict-import
|
|
sketchy-null
|
|
unclear-type
|
|
unsafe-getters-setters
|
|
untyped-import
|
|
untyped-type-import
|
|
|
|
[version]
|
|
^0.86.0
|