[ignore]
; We fork some components by platform
.*/node_modules/.*/*[.]android.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*
<PROJECT_ROOT>/apps/landingPage/node_modules/fbjs/.*
<PROJECT_ROOT>/packages/universal-components/docs/node_modules/fbjs/.*


; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js

; Ignore polyfills
.*/Libraries/polyfills/.*

; Ignore metro
.*/node_modules/metro/.*

; Ignore Expo
.*/node_modules/@expo/traveling-fastlane-linux/.*
.*/node_modules/@expo/traveling-fastlane-darwin/.*

; My custom ignores
<PROJECT_ROOT>/\.git/
<PROJECT_ROOT>/node_modules/reqwest/.+
<PROJECT_ROOT>/node_modules/fbemitter/.+
<PROJECT_ROOT>/node_modules/xdl/build/detach/.+
<PROJECT_ROOT>/node_modules/react-native-web/.+
<PROJECT_ROOT>/packages/universal-components/docs/node_modules/react-native-web/.+
<PROJECT_ROOT>/packages/universal-components/docs/node_modules/rc-util/.+


; Generated by storybook
<PROJECT_ROOT>/packages/universal-components/lib/.*
; Problems with this library which react-native-storybook-loader depends on
.*/node_modules/findup/.*

; TODO in universal-components
<PROJECT_ROOT>/node_modules/@kiwicom/universal-components/lib/web/Loader/PageLoader.js.flow
<PROJECT_ROOT>/node_modules/@kiwicom/universal-components/lib/web/TextInput/TextInput.js.flow
<PROJECT_ROOT>/node_modules/@kiwicom/universal-components/lib/web/Text/Text.js.flow
<PROJECT_ROOT>/node_modules/@kiwicom/universal-components/lib/web/TagsInput/components/InputField.js.flow
<PROJECT_ROOT>/node_modules/@kiwicom/universal-components/lib/web/PlatformStyleSheet/StyleSheet.js.flow

[include]

[untyped]
; Be careful - do not add 'StyleSheet' here
<PROJECT_ROOT>/node_modules/graphql/.*
<PROJECT_ROOT>/node_modules/react-native-paper/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/StyleSheet/StyleSheetValidation.js
<PROJECT_ROOT>/node_modules/react-native/Libraries/StyleSheet/processTransform.js
<PROJECT_ROOT>/node_modules/react-native/Libraries/Text/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/Lists/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/Components/.*
<PROJECT_ROOT>/node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js
<PROJECT_ROOT>/node_modules/react-native/Libraries/YellowBox/UI/YellowBoxList.js
<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/Image.ios.js
<PROJECT_ROOT>/node_modules/react-native/Libraries/Lists/VirtualizedSectionList.js
<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/AnimatedEvent.js

.+/node_modules/graphql-iso-date/dist/date/index.js
.+/node_modules/graphql-iso-date/dist/dateTime/index.js
.+/node_modules/graphql-iso-date/dist/time/index.js

; @kiwicom/orbit-components uses old Flow version:
; https://github.com/kiwicom/orbit-components/issues/1010
.+/node_modules/@kiwicom/orbit-components/lib/index.js
 .+/node_modules/@kiwicom/orbit-components/lib/getTokens.js





[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/react-native/flow-github/
flow-typed/

[options]
server.max_workers=4
emoji=true

module.name_mapper='^@kiwicom/universal-components$' -> '<PROJECT_ROOT>/packages/universal-components/src'

esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable

module.system=haste

munge_underscores=true

module.name_mapper.extension='\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)' -> 'RelativeImageStub'

module.file_ext=.js
module.file_ext=.android.js
module.file_ext=.ios.js
module.file_ext=.web.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js

; This option lets you alias 'any' with a given string - useful for explaining why you’re using 'any'
; Please, do not use "fix me" suppress types and comments
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue: https://github.com/facebook/flow/issues/[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError: .+

[lints]
unnecessary-optional-chain=error

[strict]
;nonstrict-import
unclear-type
unsafe-getters-setters
;untyped-import
;untyped-type-import
sketchy-null

[version]
^0.98.0
