Skip to content

fix: suppress forge lint style notes#21

Merged
garykocsis merged 1 commit into
mainfrom
fix/lint-config
Jun 10, 2026
Merged

fix: suppress forge lint style notes#21
garykocsis merged 1 commit into
mainfrom
fix/lint-config

Conversation

@garykocsis

Copy link
Copy Markdown
Owner

Adds a [lint] config block to foundry.toml suppressing the note-level style lints (mixed-case-variable, mixed-case-function, screaming-snake-case-immutable, asm-keccak256) that fire in test harnesses and scripts, so forge build output stays clean.

The two erc20-unchecked-transfer warnings (in DemoLPRouter.sol and RangeGuardHook.sol) are intentionally kept visible as mainnet-hardening reminders.

Verification

  • forge build — only the erc20-unchecked-transfer warnings remain (DemoLPRouter.sol ×2, RangeGuardHook.sol ×1); all four note-level lints suppressed
  • forge test — 292 passed, 0 failed, 0 skipped

🤖 Generated with Claude Code

Adds a [lint] exclude_lints block for the note-level style lints
(mixed-case-variable, mixed-case-function, screaming-snake-case-immutable,
asm-keccak256) that fire in test harnesses and scripts. The
erc20-unchecked-transfer warnings (DemoLPRouter.sol, RangeGuardHook.sol)
are intentionally NOT suppressed — they are real mainnet-hardening reminders.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
range-guard Ready Ready Preview, Comment Jun 10, 2026 5:38am

@garykocsis garykocsis merged commit 65f4ba0 into main Jun 10, 2026
5 checks passed
@garykocsis garykocsis deleted the fix/lint-config branch June 10, 2026 05:45
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.

1 participant