|
| 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 | + |
| 27 | +[include] |
| 28 | + |
| 29 | +[libs] |
| 30 | +node_modules/react-native/Libraries/react-native/react-native-interface.js |
| 31 | +node_modules/react-native/flow |
| 32 | +flow/ |
| 33 | + |
| 34 | +[options] |
| 35 | +module.system=haste |
| 36 | + |
| 37 | +esproposal.class_static_fields=enable |
| 38 | +esproposal.class_instance_fields=enable |
| 39 | + |
| 40 | +experimental.strict_type_args=true |
| 41 | + |
| 42 | +munge_underscores=true |
| 43 | + |
| 44 | +module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' |
| 45 | +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' |
| 46 | + |
| 47 | +suppress_type=$FlowIssue |
| 48 | +suppress_type=$FlowFixMe |
| 49 | +suppress_type=$FixMe |
| 50 | + |
| 51 | +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) |
| 52 | +suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ |
| 53 | +suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy |
| 54 | + |
| 55 | +unsafe.enable_getters_and_setters=true |
| 56 | + |
| 57 | +[version] |
| 58 | +^0.33.0 |
0 commit comments