diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec13..000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index 6e9bf51fa..000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run precommit diff --git a/.prettierignore b/.prettierignore index 4ffde8be8..a3c534a82 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,5 @@ .circleci/ .github/ -.husky build/ node_modules/ coverage/ diff --git a/package.json b/package.json index 3b9ffa217..4a86b1250 100644 --- a/package.json +++ b/package.json @@ -8,16 +8,13 @@ "test-update": "sb-rn-get-stories && jest --updateSnapshot", "lint": "eslint . && tsc", "prettier-lint": "prettier --write . && yarn lint", - "ci": "npm run precommit && codecov", "ios": "npx react-native run-ios", "android": "npx react-native run-android --variant=experimentalPlayDebug", "android-whitelabel": "npx react-native run-android --main-activity chat.rocket.reactnative.MainActivity --variant=experimentalPlayDebug --appId", "log-android": "react-native log-android", "snyk-protect": "snyk protect", - "precommit": "lint-staged", "generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map", "postinstall": "patch-package && jetify", - "prepare": "husky install", "build-icon-set": "node scripts/build-icon-set.js", "e2e:android-build-debug": "yarn detox build -c android.emu.debug", "e2e:android-test-debug": "yarn detox test -c android.emu.debug", @@ -29,13 +26,6 @@ "e2e:ios-test": "yarn detox test -c ios.sim.release", "e2e:start": "RUNNING_E2E_TESTS=true npx react-native start" }, - "lint-staged": { - "*.{js,ts,tsx}": [ - "prettier --write", - "eslint", - "jest --bail --findRelatedTests --passWithNoTests" - ] - }, "dependencies": { "@bugsnag/react-native": "^7.10.5", "@codler/react-native-keyboard-aware-scroll-view": "^2.0.1", @@ -209,7 +199,6 @@ "eslint-plugin-react": "7.30.0", "eslint-plugin-react-hooks": "^4.5.0", "eslint-plugin-react-native": "4.0.0", - "husky": "^6.0.0", "identity-obj-proxy": "^3.0.0", "jest": "^28.1.3", "jest-cli": "^28.1.3", diff --git a/yarn.lock b/yarn.lock index c6ec9d70c..11daeb081 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12790,11 +12790,6 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e" - integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ== - i18n-js@3.9.2: version "3.9.2" resolved "https://registry.yarnpkg.com/i18n-js/-/i18n-js-3.9.2.tgz#4a015dcfabd4c9fc73115fc2d02d2627e4c15ca5"