From 4a2a3e892d3a431245405ad32009bc2067f11c4a Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 3 May 2022 18:22:32 +0100 Subject: [PATCH] chore: revert #1349 --- .husky/pre-commit | 3 ++- lint-staged.config.js | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 lint-staged.config.js diff --git a/.husky/pre-commit b/.husky/pre-commit index d37daa075e2..660b8209689 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install lint-staged +npm run lint +npm run test diff --git a/lint-staged.config.js b/lint-staged.config.js deleted file mode 100644 index ef1bc3a5b50..00000000000 --- a/lint-staged.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - '*.{js,ts}': 'npm run lint && npm test' -}