From f5ba1693fe92d24b2d3e8989665ec8660df9fd08 Mon Sep 17 00:00:00 2001 From: SangYeob Bono Yu Date: Thu, 14 Jul 2016 04:51:21 -0700 Subject: [PATCH] Allow getters and setters in flow check Summary: We have static getters in [DatePickerAndroid](https://github.com/facebook/react-native/blob/master/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js#L77) and [TimePickerAndroid](https://github.com/facebook/react-native/blob/master/Libraries/Components/TimePickerAndroid/TimePickerAndroid.android.js#L60) already. Can we allow it in the config file? Closes https://github.com/facebook/react-native/pull/8770 Differential Revision: D3561327 Pulled By: davidaurelio fbshipit-source-id: c2deadab109c7a63d5d471bc772d4ebeb3ac2e3e --- .flowconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.flowconfig b/.flowconfig index 6eff3cb81..671477ff7 100644 --- a/.flowconfig +++ b/.flowconfig @@ -51,5 +51,7 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[ suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy +unsafe.enable_getters_and_setters=true + [version] ^0.28.0