forked from facebookarchive/draft-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flowconfig
More file actions
40 lines (35 loc) · 1.3 KB
/
.flowconfig
File metadata and controls
40 lines (35 loc) · 1.3 KB
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
[ignore]
.*/__tests__.*
.*/react/node_modules/.*
.*/react-dom/node_modules/.*
.*/fbjs/node_modules/.*
.*/node_modules/invariant/.*
[include]
../node_modules/fbjs/lib/
../node_modules/immutable
../node_modules/react
../node_modules/react-dom/
[libs]
../node_modules/fbjs/flow/lib
[options]
module.system=haste
module.system.haste.use_name_reducers=true
# keep the following in sync with server/haste/hasteImpl.js
# get basename
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
module.system.haste.paths.whitelist=<PROJECT_ROOT>/.*
module.system.haste.paths.whitelist=.*/node_modules/fbjs/lib/.*
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/react/node_modules/.*
module.system.haste.paths.blacklist=.*/react-dom/node_modules/.*
module.system.haste.paths.blacklist=.*/fbjs/node_modules/.*
module.system.haste.paths.blacklist=.*/node_modules/invariant/.*
esproposal.class_static_fields=enable
suppress_type=$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
module.name_mapper='ReactDOM' -> 'react-dom'
[version]
^0.92.0