|
@@ -70,11 +70,11 @@
|
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
|
|
|
"deploy": "hardhat run scripts/deploy.ts",
|
|
|
"deploy:network": "hardhat run scripts/deploy.ts --network",
|
|
|
- "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:list-different",
|
|
|
+ "lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:check",
|
|
|
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
|
|
|
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
|
"prettier": "prettier --config .prettierrc --write \"**/*.{js,json,md,sol,ts}\"",
|
|
|
- "prettier:list-different": "prettier --config .prettierrc --list-different \"**/*.{js,json,md,sol,ts}\"",
|
|
|
+ "prettier:check": "prettier --check --config .prettierrc \"**/*.{js,json,md,sol,ts}\"",
|
|
|
"test": "hardhat test",
|
|
|
"typechain": "hardhat typechain"
|
|
|
}
|