Skip to content

Commit

Permalink
chore: fix lint script
Browse files Browse the repository at this point in the history
chore: separate scripts in "lint" and "lint:sol"
  • Loading branch information
PaulRBerg committed Feb 7, 2023
1 parent 82c69c2 commit f3d8b17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"gas:report": "forge test --gas-report --no-match-path \"./test/e2e/**/*.sol\" --no-match-test \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"",
"gas:snapshot": "forge snapshot --desc --no-match-path \"./test/e2e/**/*.sol\" --no-match-test \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"",
"gas:snapshot:optimized": "yarn build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --desc --no-match-path \"./test/e2e/**/*.sol\" --no-match-test \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"",
"lint": "yarn prettier:check && yarn solhint \"{src,test}/**/*.sol\"",
"lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "yarn solhint \"{script,src,test}/**/*.sol\"",
"postinstall": "husky install",
"prettier:write": "prettier --write \"**/*.{json,md,sol,yml}\"",
"prettier:check": "prettier --check \"**/*.{json,md,sol,yml}\"",
Expand Down

0 comments on commit f3d8b17

Please sign in to comment.