---
name: solhint
description: "Use when adopting Solhint to assess this standard: Lint Solidity against a shared policy"
---

# Apply Solhint

Select compiler-compatible rules for contract code and explicit visibility. Review findings together with contract tests for the affected behavior.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Solhint.
2. Use Solhint in this repository to meet this standard: Lint Solidity against a shared policy. Select compiler-compatible rules for contract code and explicit visibility. Review findings together with contract tests for the affected behavior. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/protofire/solhint) for configuration and prerequisites.
