Skip to content

Commit

Permalink
update flowconfig because updated flow version
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklam718 committed Aug 12, 2017
1 parent 43eeba3 commit 5fe8965
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
./PopupDialogExample/node_modules/.*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
Expand All @@ -23,13 +22,10 @@ node_modules/react-native/flow
flow/

[options]
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
emoji=true

module.system=haste

experimental.strict_type_args=true

munge_underscores=true

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'
Expand All @@ -38,11 +34,12 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-6]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

unsafe.enable_getters_and_setters=true

[version]
^0.38.0
^0.49.1

0 comments on commit 5fe8965

Please sign in to comment.