Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Flow and sync it's config with 'graphql-js' #247

Merged
merged 1 commit into from
Jun 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 35 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,44 @@
[ignore]
.*/coverage/.*
.*/scripts/.*
.*/node_modules/flow-bin/.*
.*
!<PROJECT_ROOT>/src
!<PROJECT_ROOT>/node_modules/chai
!<PROJECT_ROOT>/node_modules/mocha
!<PROJECT_ROOT>/node_modules/graphql

[include]

[declarations]
<PROJECT_ROOT>/node_modules/graphql

[libs]

[lints]
sketchy-null-bool=error
sketchy-null-string=off
sketchy-null-number=error
sketchy-null-mixed=error
sketchy-number=error
untyped-type-import=error
nonstrict-import=off
untyped-import=off
unclear-type=off
deprecated-type=off
deprecated-utility=error
dynamic-export=off
unsafe-getters-setters=error
unnecessary-optional-chain=error
unnecessary-invariant=error
signature-verification-failure=error
implicit-inexact-object=off
ambiguous-object-type=off
uninitialized-instance-property=error
unsafe-addition=error

[options]
include_warnings=true
module.use_strict=true
babel_loose_array_spread=true
esproposal.optional_chaining=enable

[version]
^0.91.0
^0.127.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"eslint": "^5.5.0",
"eslint-plugin-babel": "^5.2.0",
"eslint-plugin-flowtype": "^2.50.0",
"flow-bin": "^0.91.0",
"flow-bin": "0.127.0",
"graphql": "^14.1.1",
"isparta": "4.1.0",
"mocha": "^5.2.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1418,10 +1418,10 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"

flow-bin@^0.91.0:
version "0.91.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.91.0.tgz#f5c89729f74b2ccbd47df6fbfadbdcc89cc1e478"
integrity sha512-j+L+xNiUYnZZ27MjVI0y2c9474ZHOvdSQq0Tjwh56mEA7tfxYqp5Dcb6aZSwvs3tGMTjCrZow9aUlZf3OoRyDQ==
flow-bin@0.127.0:
version "0.127.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.127.0.tgz#0614cff4c1b783beef1feeb7108d536e09d77632"
integrity sha512-ywvCCdV4NJWzrqjFrMU5tAiVGyBiXjsJQ1+/kj8thXyX15V17x8BFvNwoAH97NrUU8T1HzmFBjLzWc0l2319qg==

for-in@^1.0.1, for-in@^1.0.2:
version "1.0.2"
Expand Down