Merged
Conversation
Adds a Volta configuration to package.json to ensure consistent Node.js version usage across development environments.
Introduces a GitHub Action to automate JavaScript quality checks for changes within the src directory. The workflow runs the project's linting script to ensure code consistency across pull requests and the main branch.
Ensures the workflow triggers on all pull requests and pushes to the main branch, regardless of whether the changes occurred within the src directory. This ensures that modifications to root-level configuration files or scripts are also validated.
This reverts commit bcf8341.
Pins WordPress packages to specific versions, adds missing dependencies for components and elements, and adds JSDoc documentation for block props. Also includes a minor refactor in utility functions to improve variable naming.
Introduces a project-level ESLint configuration that extends the recommended WordPress plugin ruleset. This ensures consistent code quality standards across the repository and supports the existing JavaScript linting workflow.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0f1b733. Configure here.
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.

package.jsonNote
Medium Risk
CI and linting changes are low risk, but pinning/upgrading WordPress packages and pulling in new transitive deps may cause build/runtime incompatibilities (notably Node engine expectations) that need verification.
Overview
Adds a repo-level ESLint config (
.eslintrc) and a new GitHub Actions workflow (quality-js.yml) that runsnpm ciandnpm run lint:js srcon pushes tomainand PRs touchingsrc/**(with concurrency cancellation).Pins several
@wordpress/*dependencies to specific versions (instead oflatest), adds new runtime deps (@wordpress/components,@wordpress/element), switches@wordpress/envtolatest, and updatespackage-lock.jsonaccordingly (including new transitive packages and removals).Includes small lint-driven refactors/doc updates in
src/blockparty-iframe(JSDoc parameter annotations and a variable rename inparseIframeCode).Reviewed by Cursor Bugbot for commit 0f1b733. Bugbot is set up for automated code reviews on this repo. Configure here.