|
| 1 | +[ignore] |
| 2 | + |
| 3 | +# We fork some components by platform. |
| 4 | +.*/*[.]android.js |
| 5 | + |
| 6 | +# Ignore templates with `@flow` in header |
| 7 | +.*/local-cli/generator.* |
| 8 | + |
| 9 | +# Ignore malformed json |
| 10 | +.*/node_modules/y18n/test/.*\.json |
| 11 | + |
| 12 | +# Ignore the website subdir |
| 13 | +<PROJECT_ROOT>/website/.* |
| 14 | + |
| 15 | +# Ignore BUCK generated dirs |
| 16 | +<PROJECT_ROOT>/\.buckd/ |
| 17 | + |
| 18 | +# Ignore unexpected extra @providesModule |
| 19 | +.*/node_modules/commoner/test/source/widget/share.js |
| 20 | + |
| 21 | +# Ignore duplicate module providers |
| 22 | +# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root |
| 23 | +.*/Libraries/react-native/React.js |
| 24 | +.*/Libraries/react-native/ReactNative.js |
| 25 | +.*/node_modules/jest-runtime/build/__tests__/.* |
| 26 | +.*/node_modules/react/node_modules/.* |
| 27 | +.*/node_modules/react-native-experimental-navigation/.* |
| 28 | +.*/node_modules/react-native/Libraries/Components/StaticContainer.js |
| 29 | + |
| 30 | +# Json lint doesn't pass flow |
| 31 | +.*/node_modules/jsonlint/.* |
| 32 | + |
| 33 | +[include] |
| 34 | + |
| 35 | +[libs] |
| 36 | +node_modules/react-native/Libraries/react-native/react-native-interface.js |
| 37 | +node_modules/react-native/flow |
| 38 | +flow/ |
| 39 | + |
| 40 | +[options] |
| 41 | +module.system=haste |
| 42 | + |
| 43 | +esproposal.class_static_fields=enable |
| 44 | +esproposal.class_instance_fields=enable |
| 45 | + |
| 46 | +experimental.strict_type_args=true |
| 47 | + |
| 48 | +munge_underscores=true |
| 49 | + |
| 50 | +module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' |
| 51 | +module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' |
| 52 | + |
| 53 | +suppress_type=$FlowIssue |
| 54 | +suppress_type=$FlowFixMe |
| 55 | +suppress_type=$FixMe |
| 56 | + |
| 57 | +suppress_type=$FlowIgnore |
| 58 | +suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore |
| 59 | + |
| 60 | +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-2]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) |
| 61 | +suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-2]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ |
| 62 | +suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy |
| 63 | + |
| 64 | +unsafe.enable_getters_and_setters=true |
| 65 | + |
| 66 | +[version] |
| 67 | +^0.33.0 |
0 commit comments