mirror of
https://github.com/vacp2p/foundry-template.git
synced 2026-01-07 22:34:02 -05:00
docs: add missing docs about fixing linting errors (#7)
This commit is contained in:
@@ -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
|
- **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
|
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.
|
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
|
- **PROPERTIES.md** - For invariant testing and formal verification, we've introduced a `PROPERTIES.md` to document all
|
||||||
all protocol properties that must hold true.
|
protocol properties that must hold true.
|
||||||
|
|
||||||
### Sensible Defaults
|
### Sensible Defaults
|
||||||
|
|
||||||
@@ -169,6 +169,10 @@ Lint the contracts:
|
|||||||
$ pnpm lint
|
$ 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
|
### Test
|
||||||
|
|
||||||
Run the tests:
|
Run the tests:
|
||||||
|
|||||||
Reference in New Issue
Block a user