From f4b65010555cb97453f1f57136bd8c68eada9f44 Mon Sep 17 00:00:00 2001 From: aritkulova Date: Fri, 2 Aug 2024 21:10:25 +0300 Subject: [PATCH] Added solhint command to scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 38af583e..fb27394e 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,11 @@ "coverage": "npx hardhat coverage --solcoverjs ./.solcover.ts", "test": "npx hardhat test", "private-network": "npx hardhat node", - "lint-fix": "npm run lint-sol-fix && npm run lint-ts-fix && npm run lint-json-fix", + "lint-fix": "npm run lint-sol-fix && npm run lint-ts-fix && npm run lint-json-fix && npm run solhint-check", "lint-json-fix": "prettier --write \"./**/*.json\"", "lint-ts-fix": "prettier --write \"./**/*.ts\"", "lint-sol-fix": "prettier --write \"contracts/**/*.sol\"", + "solhint-check": "solhint \"./contracts/**/*.sol\"", "generate-docs": "npx hardhat markup", "publish-to-npm": "npm run lint-fix && bash ./scripts/publish.sh --public" },