2017-05-08 23:02:41 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Get early feedback from our linters by running this in a pre-commit hook.
|
|
|
|
# To run as a pre-commit hook, run:
|
|
|
|
#
|
|
|
|
# $ echo "bin/lint" >> .git/hooks/pre-commit
|
|
|
|
# $ chmod +x .git/hooks/pre-commit
|
|
|
|
#
|
|
|
|
# Add "AUTO_CORRECT_LINTERS=1" in your .env to enable auto-corrections
|
|
|
|
|
|
|
|
# TODO: add other linter scripts
|
|
|
|
script/tatl_tael
|
2018-05-25 00:09:03 +08:00
|
|
|
yarn workspace-run lint
|