Skip to content

fix: update .solhint.json for solhint v6 compatibility#987

Merged
pubkey merged 2 commits intorenovate/solhint-6.xfrom
copilot/sub-pr-931
Mar 13, 2026
Merged

fix: update .solhint.json for solhint v6 compatibility#987
pubkey merged 2 commits intorenovate/solhint-6.xfrom
copilot/sub-pr-931

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

solhint v6 removed the solhint:default config, causing a ConfigMissingError at lint time. solhint:recommended is the v6 replacement.

Changes

  • solhint:defaultsolhint:recommended in extends
  • Disable compiler-version — new error-level rule in solhint:recommended requires ^0.8.24; contracts use Solidity 0.4.23
  • Remove func-order: off — rule was dropped in v6
{
  "extends": "solhint:recommended",
  "rules": {
    "compiler-version": "off",
    "not-rely-on-time": "off"
  }
}

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
Copilot AI changed the title [WIP] Update dependency solhint to v6 fix: update .solhint.json for solhint v6 compatibility Mar 13, 2026
Copilot AI requested a review from pubkey March 13, 2026 10:02
@pubkey pubkey marked this pull request as ready for review March 13, 2026 10:02
@pubkey pubkey merged commit 51c7ce9 into renovate/solhint-6.x Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants