Add @flow-strict support to .flowconfig
Summary: We enforce this config locally in fbsource, lets ensure our flow strict files are run the same way in the github repo. @public Reviewed By: sahrens Differential Revision: D8530133 fbshipit-source-id: 18528992ad6490826431359d5d8c6acd6710a8ae
This commit is contained in:
parent
12410f3e4a
commit
9cfc2c0135
23
.flowconfig
23
.flowconfig
|
@ -73,5 +73,28 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
all=warn
|
||||||
|
|
||||||
|
# There is an ESLint rule for this
|
||||||
|
unclear-type=off
|
||||||
|
|
||||||
|
sketchy-null=off
|
||||||
|
sketchy-null-number=warn
|
||||||
|
sketchy-null-mixed=warn
|
||||||
|
|
||||||
|
# This is noisy for now. We *do* still want to warn on importing types
|
||||||
|
# from untyped files, which is covered by untyped-type-import
|
||||||
|
untyped-import=off
|
||||||
|
|
||||||
|
[strict]
|
||||||
|
deprecated-type
|
||||||
|
nonstrict-import
|
||||||
|
sketchy-null
|
||||||
|
unclear-type
|
||||||
|
unsafe-getters-setters
|
||||||
|
untyped-import
|
||||||
|
untyped-type-import
|
||||||
|
|
||||||
[version]
|
[version]
|
||||||
^0.74.0
|
^0.74.0
|
||||||
|
|
Loading…
Reference in New Issue