From 8cf0573a944d18706c4f9af361013a21680eca8d Mon Sep 17 00:00:00 2001 From: sripwoud Date: Fri, 28 Jun 2024 10:11:31 +0200 Subject: [PATCH] chore: execute lint and format scripts concurrently --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cc69d1127..ee52786e0 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "test:subgraph": "yarn workspace semaphore-subgraph test", "test:contracts": "yarn workspace semaphore-contracts test:coverage", "test:circuits": "yarn workspace @semaphore-protocol/circuits test", - "lint": "eslint . --ext .js,.ts,.tsx && yarn workspace semaphore-contracts lint", - "format": "prettier -c . && yarn workspace semaphore-docs format", - "format:write": "prettier -w . && yarn workspace semaphore-docs format:write", + "lint": "concurrently -c auto -g -n eslint,solhint \"eslint . --ext .js,.ts,.tsx\" \"yarn workspace semaphore-contracts lint\"", + "format": "concurrently -c auto -g -n prettier,embark \"prettier -c .\" \"yarn workspace semaphore-docs format\"", + "format:write": "concurrently -c auto -g -n prettier,embark \"prettier -w .\" \"yarn workspace semaphore-docs format:write\"", "docs": "typedoc", "version:bump": "yarn workspaces foreach -A --no-private version -d ${0} && yarn version apply --all && yarn remove:stable-version-field && NO_HOOK=1 git commit -am \"chore: v${0}\" && git tag v${0}", "version:publish": "yarn build:libraries && yarn clean:cli-templates && yarn workspaces foreach -A --no-private npm publish --tolerate-republish --access public",