chore: simplify prettier scripts in "package.json"

This commit is contained in:
Paul Razvan Berg 2022-11-27 13:39:22 +02:00
parent bfe3ebc2f1
commit b33a33c2a6
No known key found for this signature in database
GPG Key ID: BCC366159BD63828
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
"lint": "yarn lint:sol && yarn prettier:check", "lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "solhint \"{src,test}/**/*.sol\"", "lint:sol": "solhint \"{src,test}/**/*.sol\"",
"postinstall": "husky install", "postinstall": "husky install",
"prettier": "prettier --config \"./.prettierrc.yml\" --write \"**/*.{json,md,sol,yml}\"", "prettier": "prettier --write \"**/*.{json,md,sol,yml}\"",
"prettier:check": "prettier --config \"./.prettierrc.yml\" --check \"**/*.{json,md,sol,yml}\"" "prettier:check": "prettier --check \"**/*.{json,md,sol,yml}\""
} }
} }