Commit c7ec69ff authored by Maurelian's avatar Maurelian

ctb: Update slither config

Excludes all findings except for high severity.
Also moves all config to the config file.
parent b7f161c4
......@@ -6,6 +6,7 @@ rm -rf artifacts forge-artifacts
TEMP=$(mktemp -d)
mv contracts/test $TEMP/test
slither . --foundry-out-directory artifacts
# See slither.config.json for slither settings
slither .
mv $TEMP/test contracts/test
{
"detectors_to_exclude": "assembly-usage,block-timestamp,naming-convention,solc-version",
"exclude_informational": false,
"exclude_low": false,
"exclude_medium": false,
"exclude_informational": true,
"exclude_low": true,
"exclude_medium": true,
"exclude_high": false,
"solc_disable_warnings": false,
"hardhat_ignore_compile": false,
"disable_color": false,
"exclude_dependencies": false,
"filter_paths": "contracts/test|lib"
"exclude_dependencies": true,
"filter_paths": "contracts/test,contracts/vendor,contracts/echidna,node_modules",
"foundry_out_directory": "artifacts"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment