Skip to content

Commit

Permalink
[#1 #4] Add yarn fmt command
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jul 3, 2023
1 parent 3a4a3e2 commit 0b78794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"coverage": "hardhat coverage",
"fmt:sol": "prettier 'contracts/**/*.sol' -w",
"fmt:ts": "prettier 'test/**/*.ts' -w",
"fmt": "yarn fmt:ts && yarn fmt:sol",
"lint": "yarn lint:sol && yarn lint:ts",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:ts": "eslint 'test/**/*.ts' --max-warnings 0 --fix",
Expand Down

0 comments on commit 0b78794

Please sign in to comment.