themes-wordpress/.husky/pre-commit
Jeff Ong c75d4ef9c0
Try fixing the husky actions. (#5493)
* Test commit.

* Test.

* Test.

* test.

* test

* Update package.json.

* Update package-lock.json.

* Remove incorrect formatting.

* Test a syntax error.

* Test a style error.

* Remove weird undefined.

* test

* test

* test commit

* Update phpcodesniffer-composer-installer

* Update phpcompatibility-wp

* test

* fix composer

* test

* test

* Update composer lock

* test

* test.

* Fix linters error?

* test

* test

* reset

* test

* test

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-02-15 11:28:42 +00:00

5 lines
No EOL
81 B
Bash
Executable file

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
node pre-commit-hook.js