Run linter before tests

This commit is contained in:
Mark Spanbroek 2022-02-09 14:43:09 +01:00 committed by markspanbroek
parent f7af18eb2d
commit 7bcf3fe92c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
"name": "dagger-contracts",
"license": "MIT",
"scripts": {
"test": "hardhat test",
"test": "npm run lint && hardhat test",
"start": "hardhat node --export 'deployment-localhost.json'",
"format": "prettier --write contracts/**/*.sol test/**/*.js",
"lint": "solhint contracts/**.sol"