This project uses WordPress Coding Standards (WPCS) to ensure code quality and consistency.
- If you don't have Composer installed, download and install it from getcomposer.org.
- Install the project dependencies, including WPCS:
composer install
To check your code for any coding standards violations, run the following command:
composer lint
This will display a list of any issues found.
To automatically fix many common coding standards violations, run:
composer format
It's recommended to run composer lint
again after formatting to see if any issues remain that require manual fixing.