This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.flowconfig
82 lines (68 loc) · 2.12 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[ignore]
<PROJECT_ROOT>/node_modules/.*/node_modules/.*
; Ignore components that we dont care if they match our flow
.*/node_modules/bcryptjs/.*
.*/node_modules/config-chain/test/.*
.*/node_modules/cross-domain-safe-weakmap/.*
.*/node_modules/eslint.*
.*/node_modules/findup/.*
.*/node_modules/jsonlint-lines-primitives/.*
.*/node_modules/zalgo-promise/.*
; Huge libraries that we dont need flow for, just speed up because we dont care
.*/node_modules/@material-ui/.*
.*/node_modules/listr/.*
.*/node_modules/pondjs/.*
.*/node_modules/plotly.js/.*
.*/node_modules/react-icons/.*
.*/node_modules/react-timeseries-charts/.*
.*/node_modules/rxjs/.*
.*/node_modules/vis/.*
; Mapbox disables these because of flow errors
; See https://github.com/mapbox/mapbox-gl-js/blob/master/.flowconfig
.*/node_modules/jsonlint-lines/.*
.*/node_modules/@mapbox/jsonlint-lines-primitives/.*
.*/node_modules/stylelint/.*
.*/node_modules/unflowify/.*
.*/node_modules/flow-coverage-report/.*
.*/node_modules/babel-plugin-transform-react-remove-prop-types/.*
.*/node_modules/conventional-changelog-core/.*
.*/node_modules/htmltojsx/.*
.*/node_modules/documentation/.*
.*/node_modules/module-deps/.*
.*/node_modules/bcryptjs/.*
.*/node_modules/@mapbox/geojson-types/fixtures/.*
.*/test/unit/style-spec/fixture/invalidjson.input.json
.*/test/integration/render-tests/.*
.*/test/build/downstream-flow-fixture/.*
.*/_batfish_site/.*
; graphql has flow errors that dont match our version. fixed in master,
; remove this when we update it
.*/node_modules/express-graphql/.*
.*/node_modules/graphql/.*
[untyped]
.*/node_modules/express-graphql/.*
.*/node_modules/graphql/.*
[options]
esproposal.optional_chaining=enable
[declarations]
.*/node_modules/.*
.*\.graphql\.js
[lints]
all=warn
# There is an ESLint rule for this
unclear-type=off
sketchy-null=off
sketchy-null-number=warn
sketchy-null-mixed=warn
# This is noisy for now. We *do* still want to warn on importing types
# from untyped files, which is covered by untyped-type-import
untyped-import=off
[strict]
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import
[version]
^0.131.0