Skip to content

Commit

Permalink
fix(ci): fix husky pre-commit warnings (#14676)
Browse files Browse the repository at this point in the history
* fix husky pre-commit

* stop ignoring contracts folders

* remove ERC20Patched

* bump solhint

---------

Co-authored-by: Julien Genestoux <[email protected]>
  • Loading branch information
clemsos and julien51 authored Sep 26, 2024
1 parent 071da7c commit 76227e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
tmp_site/
node_modules/

# ignore all contracts
contracts

# ZeppelinOS
zos.dev-*.json
.zos.session
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn run lint-staged
2 changes: 1 addition & 1 deletion smart-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"hardhat-tracer": "3.0.2",
"prettier": "3.3.3",
"prettier-plugin-solidity": "1.3.1",
"solhint": "5.0.2",
"solhint": "5.0.3",
"solidity-coverage": "0.8.13",
"yesno": "0.4.0"
},
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20681,7 +20681,7 @@ __metadata:
hardhat-tracer: "npm:3.0.2"
prettier: "npm:3.3.3"
prettier-plugin-solidity: "npm:1.3.1"
solhint: "npm:5.0.2"
solhint: "npm:5.0.3"
solidity-coverage: "npm:0.8.13"
yesno: "npm:0.4.0"
languageName: unknown
Expand Down Expand Up @@ -48634,9 +48634,9 @@ __metadata:
languageName: node
linkType: hard

"solhint@npm:5.0.2":
version: 5.0.2
resolution: "solhint@npm:5.0.2"
"solhint@npm:5.0.3":
version: 5.0.3
resolution: "solhint@npm:5.0.3"
dependencies:
"@solidity-parser/parser": "npm:^0.18.0"
ajv: "npm:^6.12.6"
Expand All @@ -48662,7 +48662,7 @@ __metadata:
optional: true
bin:
solhint: solhint.js
checksum: 10/d67b39089fbc818f7200d7aa27782cfed6dccbb1ccd4b2a2b3b07d030cc55f3a1a8c879b5612e1142a86710c14ccbae6bc06de41bc9ab2395d34ca37e303a250
checksum: 10/87bc03fce019a3b3443a37a1bdaaabcec9a19730175d306b1c21109dcc612a520eb710ab746850505494b509156dd3bcf21d77fdb176abd57d4d4e6ca76cd85e
languageName: node
linkType: hard

Expand Down

0 comments on commit 76227e9

Please sign in to comment.