ScopeLint

A simple and opinionated tool designed to for basic formatting/linting of Solidity and TOML code in foundry projects.

Overview

Solidity formatting uses the configuration in foundry.toml, and TOML formatting has a hardcoded configuration.

Formatting and checking does the following:

Usage

Limitations

  1. This tool is currently opinionated and does not let you configure it's behavior.
  2. It's regex-based, so it may not be perfect—for example, it doesn't care that code is commented out.