diff --git a/.flowconfig b/.flowconfig index c3aa04800c9fab..006edf715f7c0d 100644 --- a/.flowconfig +++ b/.flowconfig @@ -57,7 +57,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]* suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError experimental.well_formed_exports=true -experimental.well_formed_exports.whitelist= +experimental.types_first=true [lints] sketchy-null-number=warn diff --git a/.flowconfig.android b/.flowconfig.android index 888cc6d5a921d7..ec9ae845fa1f92 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -57,7 +57,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]* suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError experimental.well_formed_exports=true -experimental.well_formed_exports.whitelist= +experimental.types_first=true [lints] sketchy-null-number=warn diff --git a/template/_flowconfig b/template/_flowconfig index 1b13744c68692a..30c46340f00780 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -48,6 +48,9 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(si suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+ suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError +experimental.well_formed_exports=true +experimental.types_first=true + [lints] sketchy-null-number=warn sketchy-null-mixed=warn