From f84f43b5bf6a268ee1986f77e5ebf63f43465f77 Mon Sep 17 00:00:00 2001 From: Simone Gizzi Date: Tue, 26 Sep 2023 10:43:02 +0200 Subject: [PATCH] chore: Rename npm script --- .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 1bda9c17..a0e870c9 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npm run format +npm run format:write diff --git a/package.json b/package.json index 1d8fc31b..0426f10c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "scripts": { - "format": "prettier --write .", + "format:write": "prettier --write .", "prepare": "husky install" }, "devDependencies": {