Replace Solhint with Forge lint - #305
Conversation
📝 WalkthroughWalkthroughThe PR updates linting and formatting instructions to use ChangesLint toolchain refresh
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AGENTS.md`:
- Line 31: The AGENTS.md lint guidance is too tool-specific and should be
rewritten to describe the workflow by capability rather than naming a package
manager or specific commands. Update the linting bullet in the AGENTS guidance
to refer generically to formatting, Solidity linting, and Markdown linting, and
keep the rest of the contributor instructions aligned with the same
tool-agnostic style.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 3196851e-5fa6-4cb9-bde8-3abddf266163
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (7)
.claude/commands/update-emergency-config.md.claude/skills/lint-fix/SKILL.md.markdownlint.json.solhint.jsonAGENTS.mdpackage.jsonpnpm-workspace.yaml
💤 Files with no reviewable changes (1)
- .solhint.json
Summary
forge lintscripts and remove Solhint config/dependency.markdownlint-cli, keep markdown table-style compatibility explicit, and remove stale pnpm overrides from workspace policy.ajvfor emergency config schema validation and adding directglobfor the metrics script.npx prettierto the repo-owned Forge lint and pnpm execution paths.Validation
pnpm install --no-frozen-lockfilepnpm install --frozen-lockfilepnpm audit --audit-level moderatepnpm run prettier:checkpnpm run markdownlint:checknode shell/validate-emergency-config.jsforge lintforge buildgit diff --checknode shell/validate-emergency-config.jsstill reports the existing zero-address emergency multisig warnings forarbitrumandoptimism, but exits successfully.Summary by CodeRabbit
Chores
Documentation