Skip to content

Commit

Permalink
Fix slither
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed May 24, 2024
1 parent 36e2359 commit ab40783
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
yarnPath: .yarn/releases/yarn-4.2.2.cjs
nodeLinker: "pnpm" # remove after this issue is solved: https://github.com/crytic/crytic-compile/issues/331
nodeLinker: "node-modules" # remove after this issue is solved: https://github.com/crytic/crytic-compile/issues/331
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"slither": "slither ."
},
"devDependencies": {
"@types/node": "^20.12.12",
"cspell": "^8.8.3",
"hardhat": "^2.22.4",
"solhint": "^5.0.1",
Expand Down
5 changes: 3 additions & 2 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"filter_paths": "@openzeppelin/contracts/",
"detectors_to_exclude": "solc-version"
"filter_paths": "@openzeppelin/contracts",
"detectors_to_exclude": "solc-version,unused-import",
"comments": "TODO: enable unused-import when false positive in @openzeppelin/contracts will be fixed"
}
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,7 @@ __metadata:
resolution: "@skalenetwork/paymaster-interfaces@workspace:."
dependencies:
"@openzeppelin/contracts": "npm:^5.0.2"
"@types/node": "npm:^20.12.12"
cspell: "npm:^8.8.3"
hardhat: "npm:^2.22.4"
solhint: "npm:^5.0.1"
Expand Down Expand Up @@ -1335,7 +1336,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*":
"@types/node@npm:*, @types/node@npm:^20.12.12":
version: 20.12.12
resolution: "@types/node@npm:20.12.12"
dependencies:
Expand Down

0 comments on commit ab40783

Please sign in to comment.