mirror of
https://github.com/vacp2p/foundry-template.git
synced 2026-01-08 22:58:05 -05:00
chore: run "forge fmt" on every commit
docs: update README with latest setup
This commit is contained in:
@@ -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}\""
|
||||
|
||||
Reference in New Issue
Block a user