Skip to content

Commit afad239

Browse files
Daniel Sainatifacebook-github-bot
authored andcommitted
remove suppress_comments from xplat flowconfigs
Summary: Flow is deprecating this config option, so we are removing it in preparation. Changelog: [Internal] Reviewed By: gkz Differential Revision: D21642915 fbshipit-source-id: cb2abff067b8702b37d5fdbdd63556f464e2a4a5
1 parent 351a9f1 commit afad239

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

.flowconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ suppress_type=$FlowFixMeProps
5454
suppress_type=$FlowFixMeState
5555
suppress_type=$FlowFixMeEmpty
5656

57-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
58-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
59-
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
60-
6157
experimental.well_formed_exports=true
6258
experimental.types_first=true
6359
experimental.abstract_locations=true

.flowconfig.android

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ suppress_type=$FlowFixMeProps
5454
suppress_type=$FlowFixMeState
5555
suppress_type=$FlowFixMeEmpty
5656

57-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_android\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
58-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_android\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
59-
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
60-
6157
experimental.well_formed_exports=true
6258
experimental.types_first=true
6359
experimental.abstract_locations=true

template/_flowconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ suppress_type=$FlowFixMe
4444
suppress_type=$FlowFixMeProps
4545
suppress_type=$FlowFixMeState
4646

47-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
48-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
49-
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
50-
5147
[lints]
5248
sketchy-null-number=warn
5349
sketchy-null-mixed=warn

0 commit comments

Comments
 (0)