Skip to content

Commit f432c4c

Browse files
authored
chore: update flowtype (#160)
1 parent 25e17c5 commit f432c4c

File tree

3 files changed

+7
-21
lines changed

3 files changed

+7
-21
lines changed

.flowconfig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ suppress_type=$FlowFixMeProps
4949
suppress_type=$FlowFixMeState
5050

5151
well_formed_exports=true
52-
types_first=true
5352
experimental.abstract_locations=true
5453

54+
sharedmemory.heap_size=4000000000
55+
5556
[lints]
5657
sketchy-null-number=warn
5758
sketchy-null-mixed=warn
@@ -63,7 +64,6 @@ unsafe-getters-setters=warn
6364
unnecessary-invariant=warn
6465
signature-verification-failure=warn
6566
deprecated-utility=error
66-
unsafe-addition=error
6767

6868
[strict]
6969
deprecated-type
@@ -73,6 +73,3 @@ unclear-type
7373
unsafe-getters-setters
7474
untyped-import
7575
untyped-type-import
76-
77-
[version]
78-
^0.129.0

package.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"eslint": "7",
3939
"eslint-plugin-prettier": "^3.1.2",
4040
"expo": "^38.0.10",
41-
"flow-bin": "^0.129.0",
41+
"flow-bin": "^0.142.0",
4242
"husky": "^4.0.10",
4343
"jest": "^26.0.1",
4444
"metro-react-native-babel-preset": "0.64.0",
@@ -60,17 +60,6 @@
6060
"<rootDir>/jest.setup.js"
6161
]
6262
},
63-
"husky": {
64-
"hooks": {
65-
"pre-commit": "lint-staged"
66-
}
67-
},
68-
"lint-staged": {
69-
"*.{js,json,css,md}": [
70-
"prettier --write",
71-
"git add"
72-
]
73-
},
7463
"repository": {
7564
"type": "git",
7665
"url": "git+https://github.com/react-native-community/segmented-control.git"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6557,10 +6557,10 @@ flatted@^2.0.0:
65576557
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.0.tgz#55122b6536ea496b4b44893ee2608141d10d9916"
65586558
integrity sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==
65596559

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

65656565
flush-write-stream@^1.0.0:
65666566
version "1.1.1"

0 commit comments

Comments
 (0)