mirror of
https://github.com/vacp2p/foundry-template.git
synced 2025-02-17 01:36:26 +00:00
chore: add slither config
This is so we can run `slither .` in any of our projects.
This commit is contained in:
parent
43a1dff852
commit
2d059c0232
@ -14,3 +14,5 @@ lcov.info
|
|||||||
package-lock.json
|
package-lock.json
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
|
||||||
|
slither.config.json
|
||||||
|
@ -69,7 +69,8 @@ following files:
|
|||||||
├── .prettierrc.yml
|
├── .prettierrc.yml
|
||||||
├── .solhint.json
|
├── .solhint.json
|
||||||
├── foundry.toml
|
├── foundry.toml
|
||||||
└── remappings.txt
|
├── remappings.txt
|
||||||
|
└── slither.config.json
|
||||||
```
|
```
|
||||||
|
|
||||||
### VSCode Integration
|
### VSCode Integration
|
||||||
|
8
slither.config.json
Normal file
8
slither.config.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"detectors_to_exclude": "naming-convention,reentrancy-events,solc-version,timestamp",
|
||||||
|
"filter_paths": "(lib|test)",
|
||||||
|
"solc_remaps": [
|
||||||
|
"@openzeppelin/contracts=lib/openzeppelin-contracts/contracts/",
|
||||||
|
"forge-std/=lib/forge-std/src/"
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user