diff --git a/package.json b/package.json index 154a3107..7b74f8be 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "eth:run-script": "cd hardhat && npx hardhat run", "fix-dev-issues": "node dev-scripts/copy-localhost-data.js && node dev-scripts/generate-typechain-artifacts.js && node dev-scripts/scss-ts-hack.js", "lint:fix": "eslint --fix --ext js,ts,tsx src dev-scripts", - "lint": "eslint --ext js,ts,tsx src dev-scripts", - "prettier": "prettier --write ./**/*.{js,jsx,ts,tsx,json,css,scss,md}", + "lint": "yarn prettier:check && eslint --ext js,ts,tsx src dev-scripts", "prettier:check": "prettier --check ./**/*.{js,jsx,ts,tsx,json,css,scss,md}", + "prettier": "prettier --write ./**/*.{js,jsx,ts,tsx,json,css,scss,md}", "postinstall": "yarn fix-dev-issues", "postuninstall": "yarn fix-dev-issues", "prepare": "husky install",