nitishkaila / wp-vip-pre-commit-hook
Pre-commit hook for WordPress projects to run WordPress VIP Minimum coding standard
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0
- automattic/vipwpcs: *
- dealerdirect/phpcodesniffer-composer-installer: *
- phpcompatibility/phpcompatibility-wp: *
- wp-coding-standards/wpcs: 1.*
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