mirror of
https://github.com/vacp2p/foundry-template.git
synced 2025-01-14 01:26:53 +00:00
docs: add missing docs about fixing linting errors (#7)
This commit is contained in:
parent
a7f24844a2
commit
6af96c0556
@ -54,8 +54,8 @@ These differences are:
|
||||
- **Removal of [PRBTest](https://github.com/PaulRBerg/prb-test)** - In an attempt to keep dependence on third-party code
|
||||
low, we've decided to remove this library as a standard dependency of every project within Vac. If we do see a need
|
||||
for it, we might bring it back in the future.
|
||||
- \*\*`PROPERTIES.md` - For invariant testing and formal verification, we've introduced a `PROPERTIES.md` to document
|
||||
all protocol properties that must hold true.
|
||||
- **PROPERTIES.md** - For invariant testing and formal verification, we've introduced a `PROPERTIES.md` to document all
|
||||
protocol properties that must hold true.
|
||||
|
||||
### Sensible Defaults
|
||||
|
||||
@ -169,6 +169,10 @@ Lint the contracts:
|
||||
$ pnpm lint
|
||||
```
|
||||
|
||||
#### Fixing linting issues
|
||||
|
||||
For any errors in solidity files, run `forge fmt`. For errors in any other file type, run `pnpm prettier:write`.
|
||||
|
||||
### Test
|
||||
|
||||
Run the tests:
|
||||
|
Loading…
x
Reference in New Issue
Block a user