chore: add project configuration and tooling setup#7
Merged
Conversation
Bring plugins in line with the org's reference monorepo setup: - add .editorconfig (shared indent/EOL conventions) - add .npm-deprecaterc.yml for @favware/npm-deprecate, scoped to @wolfstar/plugin-api (this repo only ships one package) - add .coderabbit.yaml to match stars-components' review policy - bump mscharley/dependency-changesets-action to v1.2.4 and zizmorcore/zizmor-action to v0.5.7 in the reusable workflows - expand .gitignore with stars-components' extra ignore patterns while keeping this repo's existing .env/.vscode allowlist rules
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
The .editorconfig added for stars-components alignment used tabs for
*.{js,ts}, which doesn't match this repo's actual style (2-space
indent). That mismatch caused oxfmt to reformat all of
packages/plugin-api to tabs via the autofix-ci bot, and also broke
oxfmt's markdown check (tab_width in the markdown section was leaking
into embedded ts code-block formatting).
Fix .editorconfig to match this repo's real conventions and restore
the original formatting of packages/plugin-api.
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.
🔗 Linked issue
N/A
🧭 Context
This PR establishes foundational project configuration and development tooling to improve code quality, consistency, and automation across the repository.
📚 Description
This change introduces several configuration files to standardize development practices and enable automated code review and quality checks:
CodeRabbit Configuration (
.coderabbit.yaml): Enables automated code reviews with security scanning (gitleaks, OSV scanner), linting tools (actionlint, yamllint, shellcheck, dotenvLint), and pre-merge checks for PR titles and descriptions.EditorConfig (
.editorconfig): Standardizes editor settings across the project, defining:NPM Deprecation Config (
.npm-deprecaterc.yml): Marks packages matching the pattern*next*as deprecated, specifically targeting@wolfstar/plugin-api.Enhanced .gitignore: Expanded to comprehensively cover:
Workflow Updates: Updated GitHub Actions to use latest versions:
mscharley/dependency-changesets-action: v1.1.9 → v1.2.4zizmorcore/zizmor-action: v0.5.6 → v0.5.7Key changes
.coderabbit.yaml.editorconfig.npm-deprecaterc.yml.gitignore.github/workflows/renovate-changeset.yml.github/workflows/zizmor.ymlType of Change
Pre-flight Checklist
pnpm changeset(orpnpm changeset add --emptyif no release is needed)Note: No changeset needed as this is a configuration-only change with no impact on package releases.
https://claude.ai/code/session_01JD3ER4x3yvZMWGRpwPqXvP
Need help on this PR? Tag
/codesmithwith what you need. Autofix is enabled.Confidence Score: 5/5
Safe to merge with minimal risk.
The changes are limited to repository configuration and pinned workflow action updates, with no accepted functional, workflow-breaking, or security issues found.
No files require special attention.
What T-Rex did
Reviews (2): Last reviewed commit: "fix: revert unintended reformat caused b..." | Re-trigger Greptile