From e3e9cd66555b16fea413c1e327a09e3a1d38ac5a Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Sun, 7 May 2023 02:33:58 +0530 Subject: [PATCH] chore: add scripts to fix lint (#1033) --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index d1b7114d..e7eac489 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,9 @@ "lint:spelling": "cspell \"**/*.*\"", "lint:types": "tsc --pretty --noEmit", "lint": "npm-run-all -l -p \"lint:**\"", + "fix:js": "npm run lint:js -- --fix", + "fix:prettier": "npm run lint:prettier -- --write", + "fix": "npm-run-all -l fix:js fix:prettier", "prepare": "husky install && npm run build", "release": "standard-version", "security": "npm audit --production",