forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
50 lines (41 loc) · 1.42 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
[ignore]
<PROJECT_ROOT>/build
.*/node_modules/react-scrollbar-size
.*/node_modules/fbjs/lib/partitionObjectByKey.js
.*/node_modules/mitt
.*/node_modules/npmconf/test/fixtures/package.json
.*/node_modules/react-swipeable-views
.*/node_modules/react-flow-types/tests
.*/node_modules/eslint-plugin-jsx-a11y
.*/node_modules/react-number-format/src
.*/scripts
.*/docs/webpack.*
; FIXME: we should be flow checking against jss
.*/node_modules/jss/lib/.*\.js\.flow
.*/examples/.*/node_modules/.*
[libs]
flow/interfaces
[options]
include_warnings=true
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
module.file_ext=.js
module.file_ext=.md
module.name_mapper='.*\.\(html\|css\|svg\|png\|jpg\|gif\)$' -> '<PROJECT_ROOT>/flow/stubs/url-loader.js'
module.name_mapper='^material-ui\/\(.*\)$' -> '<PROJECT_ROOT>/src/\1'
module.name_mapper='^material-ui-docs\/\(.*\)$' -> '<PROJECT_ROOT>/docs/\1'
module.name_mapper='^material-ui-icons\/\(.*\)$' -> '<PROJECT_ROOT>/packages/material-ui-icons/src/\1'
module.ignore_non_literal_requires=true
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=.
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowExpectedError
suppress_type=$FlowToDo
[lints]
all=error
sketchy-null-bool=off
sketchy-null-mixed=off
sketchy-null-number=off
sketchy-null-string=off
untyped-type-import=off