Commit 6c2acaf
authored
chore(deps): update dependency solhint to v6 (#159)
This PR contains the following updates:
| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| [solhint](https://protofire.github.io/solhint/)
([source](https://redirect.github.com/protofire/solhint)) | dependencies
| major | [`5.2.0` ->
`6.0.0`](https://renovatebot.com/diffs/npm/solhint/5.2.0/6.0.0) |
[](https://securityscorecards.dev/viewer/?uri=github.com/protofire/solhint)
|
---
### Release Notes
<details>
<summary>protofire/solhint (solhint)</summary>
###
[`v6.0.0`](https://redirect.github.com/protofire/solhint/blob/HEAD/CHANGELOG.md#600---2025-07-04)
[Compare
Source](https://redirect.github.com/protofire/solhint/compare/v5.2.0...v6.0.0)
##### BREAKING CHANGE
Some rules were removed from the recommended ruleset and other were
promoted. See below:
Rules revision -
[#​692](https://redirect.github.com/protofire/solhint/pull/692)
##### 🟥 DEMOTED
- `payable-fallback`: Outdated due to the introduction of receive();
rarely needed in modern Solidity.
<br>
##### ✅ 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](https://redirect.github.com/protofire/solhint/pull/690)
- `gas-increment-by-one` backward expression -
[#​691](https://redirect.github.com/protofire/solhint/pull/691)
- Typo (thanks to
@​[MarkFizz77](https://redirect.github.com/MarkFizz77))
##### Added
- `use-natspec`: Promote the use of natspec and make several checks to
enforce it -
[#​689](https://redirect.github.com/protofire/solhint/pull/689)
<br><br>
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/settlemint/solidity-empty).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 4ea2da2 commit 6c2acaf
2 files changed
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments