build: add oxlint, oxfmt, commitlint, lefthook, knip, and editorconfig configs#23
Merged
vanceingalls merged 7 commits intomainfrom Mar 23, 2026
Merged
build: add oxlint, oxfmt, commitlint, lefthook, knip, and editorconfig configs#23vanceingalls merged 7 commits intomainfrom
vanceingalls merged 7 commits intomainfrom
Conversation
VA-851 [Pre-Migration] Configure ESLint, Prettier, and conventional commits
ContextThe codebase currently has no linting or formatting enforcement. Code is clean by convention, but OSS contributors need automated guardrails. Team feedback: "I love when an open source repo has this." What to do
Why before portWe want the OSS repo's first commit to already have these configs in place and all code conforming. No "fix linting" commits in public history. |
2 tasks
Collaborator
Author
This was referenced Mar 23, 2026
miguel-heygen
approved these changes
Mar 23, 2026
This was referenced Mar 23, 2026
20a74d7 to
7dae5e2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
.oxlintrc.json(correctness rules + React plugin).oxfmtrc.json(double quotes, semicolons, 2-space indent, trailing commas)commitlint.config.js(conventional commits)lefthook.yml(pre-commit lint+format, commit-msg commitlint).editorconfigandknip.config.tspnpm lint,pnpm format,pnpm format:check,pnpm knipPart 1/4 of VA-851
Test plan
pnpm lintruns (reports pre-existing errors, expected)pnpm format:checkruns (reports pre-existing diffs, expected)commitlintvalidates and rejects messages correctlypnpm run preparepnpm knipruns