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" ] }