Work in progress, not ready for use
This is a simple and opinionated tool designed to for basic formatting/linting of Solidity and TOML code in foundry projects.
Solidity formatting uses the configuration in foundry.toml
, and TOML formatting has a hardcoded configuration.
Formatting and checking does the following:
forge fmt
to format Solidity.taplo
crate to format TOML.test(Fork)?(Fuzz)?_(Revert(If_|When_){1})?\w{1,}
.ALL_CAPS
.run
method per script.src/
start with a leading underscore.cargo install scopelint
.scopelint fmt
.scopelint check
.