This repository contains examples used in the Learn VIP Course: Enterprise Block Editor (Gutenberg)
- A PHP CodeSniffer configuration that will check your code against the coding standards that are recommended by the Newspack team.
- A Prettier configuration for WordPress.
- A Husky configuration to lint local files changes before they are committed.
By running npm run setup
from the root of the project you'll:
- Install
package.json
dependencies - Install
composer.json
dependencies - Initialize and configure husky pre-commit