node-web-gpio/.husky/pre-commit
Akihiko.KIgure 13b064f140
husky, lint-staged, prettier 導入によるコミット時の自動フォーマット (#29)
* cf feature/prettier husky, lint-staged, prettier add.
2021-12-08 10:01:04 +09:00

7 lines
124 B
Bash
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# eslint 実行
npm run lint
# lint-staged 実行prettier
npm run precommit