This template repository is pre-configured to provide all of the tools to format code to match the WordPress coding standards.
- Linting and formatting tools for PHP, JavaScript, CSS and package.json files.
- A GitHub action to that runs linting on PRs and merged to trunk.
- Build process provided by
@wordpress/scripts
- Start by clicking the
Use this template
to use this as a starting point for your project. - Run
npm run setup
to install everything. - If using VSCode add the following to your settings.json
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},