Skip to content

chore(dx): adds support for zed editor, mise#162

Merged
JacobNWolf merged 9 commits into
mainfrom
chore/zed-editor-settings
Jul 16, 2026
Merged

chore(dx): adds support for zed editor, mise#162
JacobNWolf merged 9 commits into
mainfrom
chore/zed-editor-settings

Conversation

@JacobNWolf

@JacobNWolf JacobNWolf commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

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.

JacobNWolf and others added 6 commits July 15, 2026 22:29
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>
@JacobNWolf JacobNWolf changed the title chore: sets chore(dx): adds support for zed editor, mise Jul 16, 2026
@chandrapatel

Copy link
Copy Markdown
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

@JacobNWolf

Copy link
Copy Markdown
Contributor Author

Hi @JacobNWolf PR looks good to me. We would need to exclude these new files/folder from final plugin build zip file. main/composer.json#L31

cc: @zackaira

Thanks, Chandra! I've added them so they don't get bundled in the ZIP.

@JacobNWolf
JacobNWolf merged commit 50fbd20 into main Jul 16, 2026
9 checks passed
@JacobNWolf
JacobNWolf deleted the chore/zed-editor-settings branch July 16, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants