pento / testpress

Tool for helping you get a WordPress Core test environment up and running.
GNU General Public License v2.0
68 stars 2 forks source link

Add a precommit hook that runs linting #98

Closed talldan closed 5 years ago

talldan commented 5 years ago

Uses husky to add a precommit hook. The hook currently lints:

It fails when there are linting errors in a staged file.

Also adds a .editorconfig (stolen from Gutenberg).