From f432c4c7a9c09bd6fc5ebc1cc0fe054a79a62024 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Tue, 12 Jan 2021 01:21:24 +0900 Subject: [PATCH] chore: update flowtype (#160) --- .flowconfig | 7 ++----- package.json | 13 +------------ yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/.flowconfig b/.flowconfig index f990761a..6f217f5a 100644 --- a/.flowconfig +++ b/.flowconfig @@ -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 @@ -63,7 +64,6 @@ unsafe-getters-setters=warn unnecessary-invariant=warn signature-verification-failure=warn deprecated-utility=error -unsafe-addition=error [strict] deprecated-type @@ -73,6 +73,3 @@ unclear-type unsafe-getters-setters untyped-import untyped-type-import - -[version] -^0.129.0 diff --git a/package.json b/package.json index 12adcb98..6bb40c23 100644 --- a/package.json +++ b/package.json @@ -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", @@ -60,17 +60,6 @@ "/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" diff --git a/yarn.lock b/yarn.lock index 60271ac6..8a6dd0cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"