From 0b787943bd80d25e1489173437d8c29300947ff0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 3 Jul 2023 10:18:50 +0200 Subject: [PATCH] [#1 #4] Add yarn fmt command --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d4cfecb6..201e2a05 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "coverage": "hardhat coverage", "fmt:sol": "prettier 'contracts/**/*.sol' -w", "fmt:ts": "prettier 'test/**/*.ts' -w", + "fmt": "yarn fmt:ts && yarn fmt:sol", "lint": "yarn lint:sol && yarn lint:ts", "lint:sol": "solhint 'contracts/**/*.sol'", "lint:ts": "eslint 'test/**/*.ts' --max-warnings 0 --fix",