Skip to content

Commit

Permalink
Added solhint command to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aritkulova committed Aug 2, 2024
1 parent 2c640f1 commit f4b6501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit f4b6501

Please sign in to comment.