Skip to content

richaber/hook-test

Repository files navigation

=== Hook Test ===
Contributors:      Richard Aber
Requires at least: 5.3.2
Tested up to:      5.3.2
Stable tag:        1.0.0
Requires PHP:      7.2.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Just testing git pre-commit hooks with Husky.

== Description ==

Plugin files generated with @wordpress/create-block.
Added linting configured with @wordpress/eslint-plugin, stylelint-config-wordpress, and webdevstudios/php-coding-standards.
Used Husky to forbid non-passing commits on pre-commit hook.
Watched while the @wordpress/create-block failed linting and commits were prevented.
Fixed up linting errors, got commits to go through.

== Installation ==

Don't install this. I'm just testing tooling.

== Frequently Asked Questions ==

= Why? =

Because I need to know.

== Changelog ==

= 1.0.0 =
* This is not a release, it's just testing garbage.

About

Just testing Husky for Git pre-commit hooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published