chore: run "forge fmt" on every commit

docs: update README with latest setup
This commit is contained in:
Paul Razvan Berg
2023-02-16 12:43:43 +02:00
parent 25db8b8c4c
commit c333dd8213
4 changed files with 14 additions and 10 deletions

View File

@@ -31,7 +31,7 @@
"scripts": {
"clean": "rimraf cache out",
"lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "forge fmt --check && yarn solhint \"{src,test}/**/*.sol\"",
"lint:sol": "forge fmt --check && yarn solhint \"{script,src,test}/**/*.sol\"",
"postinstall": "husky install",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\""