Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 2ca3d51

Browse files
Flow: Synchronise config with 'graphql-js' (#519)
1 parent eafa055 commit 2ca3d51

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

.flowconfig

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,49 @@
11
[ignore]
2-
.*/dist/.*
3-
.*/node_modules/flow-bin/.*
2+
.*
3+
!<PROJECT_ROOT>/src
4+
!<PROJECT_ROOT>/node_modules/express
5+
!<PROJECT_ROOT>/node_modules/restify
6+
!<PROJECT_ROOT>/node_modules/connect
7+
!<PROJECT_ROOT>/node_modules/graphql
8+
!<PROJECT_ROOT>/node_modules/accepts
9+
!<PROJECT_ROOT>/node_modules/iterall
10+
!<PROJECT_ROOT>/node_modules/raw-body
11+
!<PROJECT_ROOT>/node_modules/body-parser
12+
!<PROJECT_ROOT>/node_modules/http-errors
13+
!<PROJECT_ROOT>/node_modules/content-type
14+
!<PROJECT_ROOT>/node_modules/chai
15+
!<PROJECT_ROOT>/node_modules/mocha
16+
!<PROJECT_ROOT>/node_modules/sinon
17+
!<PROJECT_ROOT>/node_modules/multer
18+
!<PROJECT_ROOT>/node_modules/supertest
19+
20+
[include]
421

522
[libs]
623
./resources/interfaces
24+
25+
[lints]
26+
sketchy-null-bool=off
27+
sketchy-null-string=off
28+
sketchy-null-number=error
29+
sketchy-null-mixed=off
30+
sketchy-number=error
31+
untyped-type-import=off
32+
nonstrict-import=off
33+
untyped-import=off
34+
unclear-type=off
35+
deprecated-type=error
36+
deprecated-utility=error
37+
dynamic-export=off
38+
unsafe-getters-setters=error
39+
inexact-spread=error
40+
implicit-inexact-object=off
41+
unnecessary-optional-chain=error
42+
unnecessary-invariant=error
43+
44+
[options]
45+
include_warnings=true
46+
module.use_strict=true
47+
48+
[version]
49+
^0.102.0

0 commit comments

Comments
 (0)