nitishkaila/wp-vip-pre-commit-hook

Pre-commit hook for WordPress projects to run WordPress VIP Minimum coding standard

1.0.0 2019-04-18 12:50 UTC

This package is auto-updated.

Last update: 2024-11-19 19:53:08 UTC


README

This package is usefull to WordPress projects with git pre commit hook.

This package will install PHPCS with the WordPress and VIP Coding Standard. The PHP linting and PHPCS run using git pre commit hook when you commit the project code.

By default WordPressVIPMinimum coding standard will run. If you wish to run your custom coding standard then you will need to place the phpcs.ruleset.xml or phpcs.xml.dist file in your project.

Installation

Run following command to install the composer package

composer require nitishkaila/wp-vip-pre-commit-hook:dev-master