chore: add Prettier config, format scripts, and .editorconfig#96
Conversation
|
ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (52)
📝 WalkthroughWalkthroughIntroduces Prettier formatting enforcement by adding ChangesPrettier Enforcement and Mass Format Application
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes The vast majority of the diff is homogeneous Prettier output with no logic changes. The only substantive item to inspect is the SQL N:M sort fix in Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
🇪🇸 Español
Agrega Prettier con config versionada para hacer cumplir el formato del código.
Cambios:
.prettierrc.json— config explícita (defaults que coinciden con el estilo actual: comillas dobles, punto y coma, 2 espacios,trailingComma: all, ancho 80)..prettierignore— excluye builds, lockfile y assets WASM..editorconfig— alinea editores (LF, UTF-8, 2 espacios, newline final).formatyformat:checkenpackage.json.pnpm format:checken CI (antes de lint).Validado:
format:check,typecheck,lint,test(43 ✓) ybuildpasan.Closes #67
🇬🇧 English
Adds Prettier with a checked-in config to enforce code formatting.
Changes:
.prettierrc.json— explicit config (defaults matching current style: double quotes, semicolons, 2-space,trailingComma: all, width 80)..prettierignore— excludes builds, lockfile, and WASM assets..editorconfig— aligns editors (LF, UTF-8, 2-space, final newline).formatandformat:checkscripts inpackage.json.pnpm format:checkstep in CI (before lint).Validated:
format:check,typecheck,lint,test(43 ✓), andbuildall pass.Closes #67
Summary by CodeRabbit
Style
Chores
Documentation