Run linter before tests
This commit is contained in:
parent
f7af18eb2d
commit
7bcf3fe92c
|
@ -2,7 +2,7 @@
|
||||||
"name": "dagger-contracts",
|
"name": "dagger-contracts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "hardhat test",
|
"test": "npm run lint && hardhat test",
|
||||||
"start": "hardhat node --export 'deployment-localhost.json'",
|
"start": "hardhat node --export 'deployment-localhost.json'",
|
||||||
"format": "prettier --write contracts/**/*.sol test/**/*.js",
|
"format": "prettier --write contracts/**/*.sol test/**/*.js",
|
||||||
"lint": "solhint contracts/**.sol"
|
"lint": "solhint contracts/**.sol"
|
||||||
|
|
Loading…
Reference in New Issue