chore(dx): adds support for zed editor, mise#162
Merged
Conversation
Disable PHPactor in favor of Intelephense with WordPress stubs and paths tuned for this plugin repo. Co-authored-by: Cursor <cursoragent@cursor.com>
Add eslint.config.cjs so the editor ESLint server uses the same wp-scripts rules as npm run lint:js. Co-authored-by: Cursor <cursoragent@cursor.com>
Match VS Code behavior: lint css/scss via stylelint-lsp and apply fixes on save. Co-authored-by: Cursor <cursoragent@cursor.com>
Block it at the project root, require a biome.json to start, and override global Biome formatter settings. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace external node_modules/.bin/prettier with native formatter and require_config to match VS Code. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
|
Hi @JacobNWolf PR looks good to me. We would need to exclude these new files/folder from final plugin build zip file. https://github.com/beehiiv/wordpress/blob/main/composer.json#L31 cc: @zackaira |
Contributor
Author
Thanks, Chandra! I've added them so they don't get bundled in the ZIP. |
chandrapatel
approved these changes
Jul 16, 2026
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.
Description
This PR adds editor support for this repository for the Zed editor, enabling support for ESLint, Prettier, and Stylelint and explicitly disabling Biome, the linter and formatter used in other beehiiv repositories.
This also adds support for the multi-language tool manager Mise to manage the PHP, Node.js, and Composer versions.