Skip to content

Commit 426ba55

Browse files
TrySoundrenatorib
authored andcommitted
Upgrade flow and tweak warnings (#58)
1 parent 8a62567 commit 426ba55

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build:all": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:flow",
1818
"build": "npm run clean && npm run build:all",
1919
"clean": "rimraf lib dist es",
20-
"typecheck:flow": "flow check && [[ $(flow check) == 'Found 0 errors' ]]",
20+
"typecheck:flow": "flow check --max-warnings=0",
2121
"lint": "eslint src",
2222
"test:only": "jest",
2323
"test:bundle": "jest --setupTestFrameworkScriptFile ./tests/jestBundleSetup.js",
@@ -80,7 +80,7 @@
8080
"eslint": "^4.6.1",
8181
"eslint-plugin-import": "^2.7.0",
8282
"eslint-plugin-react": "^7.3.0",
83-
"flow-bin": "^0.63.1",
83+
"flow-bin": "^0.66.0",
8484
"husky": "^0.14.3",
8585
"jest": "^22.1.1",
8686
"lint-staged": "^6.0.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,9 +1816,9 @@ flat-cache@^1.2.1:
18161816
graceful-fs "^4.1.2"
18171817
write "^0.2.1"
18181818

1819-
flow-bin@^0.63.1:
1820-
version "0.63.1"
1821-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.63.1.tgz#ab00067c197169a5fb5b4996c8f6927b06694828"
1819+
flow-bin@^0.66.0:
1820+
version "0.66.0"
1821+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.66.0.tgz#a96dde7015dc3343fd552a7b4963c02be705ca26"
18221822

18231823
for-each@~0.3.2:
18241824
version "0.3.2"

0 commit comments

Comments
 (0)