From 7baf073e5d534966eae5cd45e209bac0009e66f2 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Fri, 27 Dec 2024 21:31:35 +0100 Subject: [PATCH] chore: test precommit --- .husky/pre-commit | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 75fac8e..d24fdfc 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npm run lint +npx lint-staged diff --git a/package.json b/package.json index 544f396..879e25e 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "prettier --write", "eslint --fix" ], - "*.{json}": [ + "*.json": [ "prettier --write" ] }