From 7d7534e2ed3570ae512d2de10d5d7f8f11553906 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 30 Aug 2023 08:59:07 +0100 Subject: [PATCH] remove precommit formatting hook --- .husky/pre-commit | 2 +- package.json | 8 +------- .lintstagedrc.json => removedlintstagedrc.json | 0 3 files changed, 2 insertions(+), 8 deletions(-) rename .lintstagedrc.json => removedlintstagedrc.json (100%) diff --git a/.husky/pre-commit b/.husky/pre-commit index 5a182ef106..618c2bfbc7 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -yarn lint-staged + diff --git a/package.json b/package.json index 431afc2bd5..a435925994 100644 --- a/package.json +++ b/package.json @@ -113,8 +113,7 @@ "watch": "watchify apps/remix-ide/src/index.js -dv -p browserify-reload -o apps/remix-ide/build/app.js --exclude solc", "reinstall": "rm ./node-modules/ -rf && rm yarn.lock && rm ./build/ -rf && yarn install & yarn run build", "ganache-cli": "npx ganache-cli", - "build-contracts": "find ./node_modules/@openzeppelin/contracts | grep -i '.sol' > libs/remix-ui/editor/src/lib/providers/completion/contracts/contracts.txt && find ./node_modules/@uniswap/v3-core/contracts | grep -i '.sol' >> libs/remix-ui/editor/src/lib/providers/completion/contracts/contracts.txt", - "prepare": "husky install" + "build-contracts": "find ./node_modules/@openzeppelin/contracts | grep -i '.sol' > libs/remix-ui/editor/src/lib/providers/completion/contracts/contracts.txt && find ./node_modules/@uniswap/v3-core/contracts | grep -i '.sol' >> libs/remix-ui/editor/src/lib/providers/completion/contracts/contracts.txt" }, "dependencies": { "@babel/plugin-proposal-class-properties": "^7.16.0", @@ -368,10 +367,5 @@ }, "resolutions": { "@types/react": "^17.0.24" - }, - "husky": { - "hooks": { - "pre-commit": "pretty-quick --staged --pattern \"**/*.{js,jsx,ts,tsx}\"" - } } } diff --git a/.lintstagedrc.json b/removedlintstagedrc.json similarity index 100% rename from .lintstagedrc.json rename to removedlintstagedrc.json