Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
solhint (source) devDependencies major 5.2.0 -> 6.0.0 OpenSSF Scorecard

Release Notes

protofire/solhint (solhint)

v6.0.0

Compare Source

BREAKING CHANGE

Some rules were removed from the recommended ruleset and other were promoted. See below:
Rules revision - #​692

🟥 DEMOTED
  • payable-fallback: Outdated due to the introduction of receive(); rarely needed in modern Solidity.

✅ PROMOTED
  • interface-starts-with-i: Promotes clarity by clearly distinguishing interfaces from contracts.
  • gas-calldata-parameters: Encourages optimal memory usage for external functions.
  • gas-increment-by-one: Suggests using ++i style for gas-efficient increments.
  • gas-indexed-events: Improves event indexing for off-chain systems and reduces gas usage.
  • gas-small-strings: Recommends cheaper encoding using bytes32 for short strings.
  • gas-strict-inequalities: Helps avoid subtle off-by-one bugs in range conditions.
  • gas-struct-packing: Maximizes storage efficiency by suggesting tight struct packing.
  • duplicated-imports: Prevents redundant imports that bloat the AST and confuse code structure.
  • import-path-check: Ensures all imported files exist and resolve correctly, avoiding runtime errors.
  • function-max-lines: Encourages smaller, more readable and maintainable functions.
  • constructor-syntax: Enforces modern constructor syntax for consistency and clarity.
  • use-natspec: Promotes proper documentation with NatSpec for better audits and readability.
Fixed
  • gas-struct-packing false positives - #​690
  • gas-increment-by-one backward expression - #​691
  • Typo (thanks to @​MarkFizz77)
Added
  • use-natspec: Promote the use of natspec and make several checks to enforce it - #​689




Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Jul 4, 2025
@github-actions
Copy link

github-actions bot commented Jul 4, 2025

📦 Packages

Package Install
Template Set bun add @settlemint/settlemint/solidity-attestation-service@8.0.9-pr980ec1a

@renovate renovate bot force-pushed the renovate/solhint-6.x branch from 8b184a7 to 8484e1f Compare July 18, 2025 01:00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/solhint-6.x branch from 8484e1f to 52342ec Compare July 22, 2025 05:36
@roderik roderik merged commit 9c11cbd into main Aug 5, 2025
2 checks passed
@roderik roderik deleted the renovate/solhint-6.x branch August 5, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants