Skip to content

Commit

Permalink
Turn on types-first on xplat/js
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Differential Revision: D18088767

fbshipit-source-id: edf6e4537e8c398207a25aae2733fb1a9bf79d16
  • Loading branch information
panagosg7 authored and facebook-github-bot committed Oct 23, 2019
1 parent 25d94ff commit d9b8445
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

experimental.well_formed_exports=true
experimental.well_formed_exports.whitelist=<PROJECT_ROOT>
experimental.types_first=true

[lints]
sketchy-null-number=warn
Expand Down
2 changes: 1 addition & 1 deletion .flowconfig.android
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

experimental.well_formed_exports=true
experimental.well_formed_exports.whitelist=<PROJECT_ROOT>
experimental.types_first=true

[lints]
sketchy-null-number=warn
Expand Down
3 changes: 3 additions & 0 deletions template/_flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(si
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(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
Expand Down

0 comments on commit d9b8445

Please sign in to comment.