Update coding standards, add wp-env and Codespaces config#56
Open
jeremyfelt wants to merge 6 commits intotrunkfrom
Open
Update coding standards, add wp-env and Codespaces config#56jeremyfelt wants to merge 6 commits intotrunkfrom
jeremyfelt wants to merge 6 commits intotrunkfrom
Conversation
Migrate to latest Happy Prime coding standards: - ESLint flat config with @happyprime/eslint-config 1.0.0 - Standardize stylelint, postcss, and prettier configs - Add/update phpcs.xml.dist with HappyPrime ruleset - Add/update phpstan.neon.dist for static analysis - Add .editorconfig and .browserslistrc where missing Add development environment tooling: - .wp-env.json for local WordPress development - .devcontainer/ for GitHub Codespaces support
- Remove .devcontainer/ (not using Codespaces) - Update verify-build workflow to Node 24 - Add missing phpcs/phpstan/verify-build workflows - Fix CSS lint errors and PHP coding standards violations - Add phpstan ignoreErrors for third-party plugin dependencies - Install glob dependency for webpack-based builds - Resolve browserslist config conflicts
- Pin phpcompatibility/php-compatibility to commit 9f71423 (version 9.99.9) for compatibility with phpcodesniffer 3.x - Add @wordpress/env and wp-env scripts to package.json - Run composer update to refresh all dependencies - Remove .cursor directory
|
Changed files were detected after build. Please run project build workflows and check You may need to update your local NPM configuration if different than below:
|
- Update @wordpress/env to ^11.2.0 - Sort devDependencies alphabetically
|
Changed files were detected after build. Please run project build workflows and check You may need to update your local NPM configuration if different than below:
|
- Rename wp-env:* scripts to env:* for friendlier commands - Set phpVersion to 8.4 in .wp-env.json - Set testsEnvironment to false to suppress deprecation warning
|
Changed files were detected after build. Please run project build workflows and check You may need to update your local NPM configuration if different than below:
|
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
eslint.config.mjs) with@happyprime/eslint-config1.0.0@happyprime/stylelint-config,@happyprime/postcss-config, and Prettier configsphpcs.xml.distwith HappyPrime ruleset andphpstan.neon.distfor static analysis.editorconfigand.browserslistrcwhere missing.wp-env.jsonfor local WordPress development via@wordpress/env.devcontainer/for GitHub Codespaces support (PHP 8.4, Node 22, Docker-in-Docker)Test plan
npm install && npm run buildto verify JS/CSS pipelinecomposer install && composer lintto verify PHP standardsnpx wp-env startto verify local environment🤖 Generated with Claude Code