Skip to content

Commit

Permalink
chore: update flowtype (react-native-segmented-control#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar authored Jan 11, 2021
1 parent 25e17c5 commit f432c4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
7 changes: 2 additions & 5 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

well_formed_exports=true
types_first=true
experimental.abstract_locations=true

sharedmemory.heap_size=4000000000

[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
Expand All @@ -63,7 +64,6 @@ unsafe-getters-setters=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error
unsafe-addition=error

[strict]
deprecated-type
Expand All @@ -73,6 +73,3 @@ unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.129.0
13 changes: 1 addition & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint": "7",
"eslint-plugin-prettier": "^3.1.2",
"expo": "^38.0.10",
"flow-bin": "^0.129.0",
"flow-bin": "^0.142.0",
"husky": "^4.0.10",
"jest": "^26.0.1",
"metro-react-native-babel-preset": "0.64.0",
Expand All @@ -60,17 +60,6 @@
"<rootDir>/jest.setup.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-native-community/segmented-control.git"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6557,10 +6557,10 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.0.tgz#55122b6536ea496b4b44893ee2608141d10d9916"
integrity sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==

flow-bin@^0.129.0:
version "0.129.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.129.0.tgz#50294d6e335dd97d095c27b096ea0b94c2415d55"
integrity sha512-WLXOj09oCK6nODVKM5uxvAzBpxXeI304E60tELMeQd/TJsyfbykNCZ+e4xml9eUOyoac9nDL3YrJpPZMzq0tMA==
flow-bin@^0.142.0:
version "0.142.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.142.0.tgz#b46b69de1123cf7c5a50917402968e07291df054"
integrity sha512-YgiapK/wrJjcgSgOWfoncbZ4vZrZWdHs+p7V9duI9zo4ehW2nM/VRrpSaWoZ+CWu3t+duGyAvupJvC6MM2l07w==

flush-write-stream@^1.0.0:
version "1.1.1"
Expand Down

0 comments on commit f432c4c

Please sign in to comment.