chore: format codebase with prettier and fix markdownlint issues - #114
chore: format codebase with prettier and fix markdownlint issues#114Fahad090NP wants to merge 2 commits into
Conversation
|
Note Pure formatting + markdownlint cleanup — no logic changes ( |
|
Thanks @Fahad090NP nice work on this. I pulled the branch and checked it locally, here's what I found:
One thing to sort out before this can merge though. The branch sits on an older main. Since it was created, main has moved 6 commits forward, including PR #113 (bridge hardening) which touches the same files you reformatted, Could you rebase onto the latest main, then re-run Once that lands, #115 will shrink to its own files automatically, like you mentioned. No rush. Happy to take another look after the rebase. |
What
Baseline formatting cleanup for the repo now that the husky/lint-staged pre-commit hook is live (#110). Makes
git blameandgit bisectclean going forward and unblocks the pre-commit tripwire.1. Prettier format (whole codebase)
npm run formatapplied across 99 files (docs, src, scripts, config) using the existing.prettierrc.jsonsingle source (fix(provider): prevent duplicate OpenCode Zen models with native BYOK groups (#106) #108).2. Markdownlint fixes (
npm run lint:md: 2219 → 0 issues).markdownlint.json): disable rules that conflict with repo conventions:MD033inline HTML (README badges/<details>, docs use it intentionally)MD041first-line heading (docs template starts with**Status:**before the H1)MD060table column style (prettier already handles table alignment)MD024set tosiblings_only(still catches real dup headings, allows Keep-a-Changelog's repeated### Fixed/### Added)text/mdlanguage tags to 51 bare fences (ASCII diagrams, log dumps, templates)|pipes inside inline code (were splitting table cells — real rendering bug)### Changedin CHANGELOG, fixed a README heading level, converted emphasis-as-heading to boldVerification
npm run lint:md→ 0 issues (72 files)npx prettier --check .→ all files passNotes
git blame/git bisectstay clean (per maintainer review on chore: add husky, eslint, and markdownlint pre-commit stack #110).