Skip to content

Commit

Permalink
added lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
dan13ram committed Sep 4, 2024
1 parent 9beec60 commit 318791b
Show file tree
Hide file tree
Showing 3 changed files with 330 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn format
yarn lint-staged
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
"test": "forge test -vvv",
"prepare": "husky"
},
"lint-staged": {
"*.sol": [
"forge fmt"
]
},
"dependencies": {
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.40",
"hardhat-deploy": "^0.12.4"
"hardhat-deploy": "^0.12.4",
"lint-staged": "^15.2.10"
}
}
Loading

0 comments on commit 318791b

Please sign in to comment.