feat: add code quality tooling and CI (2.1.0)#13
Merged
superbasicstudio merged 4 commits intomainfrom Feb 28, 2026
Merged
Conversation
- ESLint 10 with flat config for code linting - Prettier 3 for consistent code formatting - Husky 9 pre-commit hooks with lint-staged - GitHub Actions CI pipeline (Node 18, 20, 22 test matrix) - Dependabot for automated dependency updates - Jest coverage config, .editorconfig, .npmrc - New scripts: lint, lint:fix, format, format:check, test:coverage - Fix preserve-caught-error in backup command - No changes to CLI behavior or published package contents Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
npm ci requires package-lock.json which doesn't exist — the repo uses pnpm-lock.yaml. Switch CI to pnpm with frozen-lockfile. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- ESLint 10 dropped Node 18 support; pin to ESLint 9 which covers the full Node 18/20/22 matrix - Add *.md to .prettierignore so format:check doesn't fail on existing markdown formatting - Format config.yml to pass prettier check Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
lint-staged 16 requires Node >=20.17, breaking the Node 18 CI matrix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
.editorconfig,jest.config.js,.npmrc(engine-strict)preserve-caught-errorlint violation in backup commandNo changes to CLI behavior or published package contents. The
fileswhitelist in package.json ensures none of the new config files ship to npm users.Test plan
eslint .— 0 errors (3 pre-existing warnings)prettier --check— all files formatted🤖 Generated with Claude Code