Skip to content

chore: align with community Elixir style guide#130

Merged
mw2000 merged 1 commit intomainfrom
chore/style-guide-audit
Apr 28, 2026
Merged

chore: align with community Elixir style guide#130
mw2000 merged 1 commit intomainfrom
chore/style-guide-audit

Conversation

@mw2000
Copy link
Copy Markdown
Owner

@mw2000 mw2000 commented Apr 28, 2026

Summary

  • Re-enable Credo's Readability.AliasOrder and Readability.ModuleDoc checks (previously disabled)
  • Sort all alias groups alphabetically across lib/ and test/ (~30 files)
  • Add @moduledoc false to 10 nested helper modules in test/support/
  • Use the atom-list defstruct form in EEVM.Config (no field gets an explicit nil default)

Aligns the codebase with the community Elixir style guide.

Test plan

  • mix credo --strict clean (was 49 issues, now 0)
  • mix test — 4 doctests, 613 tests, 0 failures
  • mix compile --warnings-as-errors clean
  • mix docs builds without warnings

🤖 Generated with Claude Code

Re-enable Credo's Readability.AliasOrder and Readability.ModuleDoc
checks (previously disabled), then fix the violations they surface.

- Sort `alias` groups alphabetically across lib/ and test/
- Add `@moduledoc false` to nested helper modules in test/support/
- Move `:hardfork` to the atom list in `EEVM.Config` defstruct so
  no field is given an explicit `nil` default

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mw2000 mw2000 merged commit 09d939d into main Apr 28, 2026
3 checks passed
@mw2000 mw2000 deleted the chore/style-guide-audit branch April 28, 2026 08:21
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