Skip to content

Feat/416 automated formatting checks - #547

Open
Jessepriase wants to merge 4 commits into
Core-Foundry:mainfrom
Jessepriase:feat/416-automated-formatting-checks
Open

Feat/416 automated formatting checks#547
Jessepriase wants to merge 4 commits into
Core-Foundry:mainfrom
Jessepriase:feat/416-automated-formatting-checks

Conversation

@Jessepriase

Copy link
Copy Markdown

closes #416

Jess and others added 4 commits June 26, 2026 22:33
- Remove _nextAddress parameter from useWalletAccountSync callbacks in
  EventExplorerPage and ActivityFeed. Neither caller uses the address
  value. Updates hook signature to () => void to match.
- Replace WALLET_ADDRESS_KEY references in regression tests with the
  inline string 'notify-chain:wallet-address'. The constant was never
  declared in this version of the test file, causing TS2552 in
  tsc --noEmit.
Add Prettier-based formatting checks for TypeScript/TSX across the
dashboard and listener, enforced in CI on every pull request.

Changes:
- .prettierrc (new): shared Prettier config for all TS/TSX/JS files
  (singleQuote, semi, trailingComma:all, printWidth:100, lf).
- .prettierignore (new): excludes node_modules, dist, lock files,
  build artifacts, and env files from formatting checks.
- .editorconfig (new): baseline editor rules (LF, UTF-8, final newline,
  2-space TS/JS/JSON, 4-space Rust) for all editors.
- dashboard/package.json: add format:check script (Prettier --check).
  Add prettier@3.3.3 as a devDependency.
- listener/package.json: add format:check script (Prettier --check).
  Add prettier@3.3.3 as a devDependency. Fix pre-existing JSON syntax
  error (duplicate keys, missing comma).
- .github/workflows/ci.yml: add format job that runs format:check on
  both dashboard and listener. Rust formatting was already checked via
  cargo fmt --all -- --check in the rust job.
- CODE_FORMATTING.md (new): documents all formatting rules, tools,
  CI enforcement, and how to fix formatting locally.
@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@Jessepriase Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Configure Automated Code Formatting Checks

1 participant