-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flowconfig
51 lines (39 loc) · 1.67 KB
/
.flowconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[include]
[ignore]
# Including these files causes issues.
.*/node_modules/conventional-changelog-core/.*
.*/node_modules/fbjs/.*
.*/node_modules/flow-remove-types/.*
.*/node_modules/flow-coverage-report/.*
.*/node_modules/config-chain/.*
.*/node_modules/npmconf/.*
.*/node_modules/findup/.*
.*/node_modules/jss/.*
.*/node_modules/babel-plugin-flow-runtime/.*
.*/node_modules/documentation/.*
# Stylelint needs update to be compatible, wait for it and remove this line
.*/node_modules/stylelint/.*
# Do not cover 3rd party code for now
.*/acceptance/.*
[libs]
# Official "flow-typed" repository definitions.
flow-typed/npm
# Custom definitions.
tools/flow/definitions/
# Note: the following definitions come bundled with flow. It can be handy
# to reference them.
# React: https://github.com/facebook/flow/blob/master/lib/react.js
# Javascript: https://github.com/facebook/flow/blob/master/lib/core.js
# Node: https://github.com/facebook/flow/blob/master/lib/node.js
# DOM: https://github.com/facebook/flow/blob/master/lib/dom.js
# BOM: https://github.com/facebook/flow/blob/master/lib/bom.js
# CSSOM: https://github.com/facebook/flow/blob/master/lib/cssom.js
# IndexDB: https://github.com/facebook/flow/blob/master/lib/indexeddb.js
[options]
# This is so that we can import static files in our webpack supported components
# and not have flow throw a hissy fit.
module.name_mapper='^\(.*\)\.\(css\|eot\|gif\|ico\|jpg\|jpeg\|less\|otf\|mp3\|mp4\|ogg\|png\|sass\|scss\|sss\|svg\|swf\|ttf\|webp\|woff\|woff2\)$' -> '<PROJECT_ROOT>/tools/flow/stubs/WebpackAsset.js.flow'
# For CSS theming, we are using backquotes and concatenation into imports
module.ignore_non_literal_requires=true
[version]
0.52.0