Skip to content

fix: resolve all forge lint and fmt issues across the codebase - #15

Merged
6boris merged 1 commit into
mainfrom
dev
Apr 16, 2026
Merged

fix: resolve all forge lint and fmt issues across the codebase#15
6boris merged 1 commit into
mainfrom
dev

Conversation

@6boris

@6boris 6boris commented Apr 16, 2026

Copy link
Copy Markdown
Owner
  • Fix forge fmt formatting in 8 files (auto-formatted)
  • Add forge-lint: disable-start to 52 third-party CTF files (DVDeFi, ONLYPWNER, Ethernaut, IPancakeRouter, Platypus)
  • Fix BatchTransfer.sol: rename functions to mixedCase, rename toTokenIDList to toTokenIdList
  • Fix BatchTransfer.t.sol: remove unused import, use named struct fields, add require on transfer
  • Fix wkeyDAO.sol: constants to SCREAMING_SNAKE_CASE, fix function names, add require on transfer
  • Configure .solhintignore to exclude third-party CTF directories
  • Add [lint] ignore config in foundry.toml for DVDeFi and ONLYPWNER

Result: forge lint 288→0, forge fmt clean, solhint 374→120, all 24 tests passing.

- Fix forge fmt formatting in 8 files (auto-formatted)
- Add forge-lint: disable-start to 52 third-party CTF files (DVDeFi, ONLYPWNER, Ethernaut, IPancakeRouter, Platypus)
- Fix BatchTransfer.sol: rename functions to mixedCase, rename toTokenIDList to toTokenIdList
- Fix BatchTransfer.t.sol: remove unused import, use named struct fields, add require on transfer
- Fix wkeyDAO.sol: constants to SCREAMING_SNAKE_CASE, fix function names, add require on transfer
- Configure .solhintignore to exclude third-party CTF directories
- Add [lint] ignore config in foundry.toml for DVDeFi and ONLYPWNER

Result: forge lint 288→0, forge fmt clean, solhint 374→120, all 24 tests passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@6boris
6boris merged commit e182c04 into main Apr 16, 2026
1 of 2 checks passed
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