Commit graph

19 commits

Author SHA1 Message Date
Rummskartoffel
a366cddf11 Update git hooks
Add check to pre-commit hook to skip on Windows, where it is currently
partially broken
Notify user when hooks are run to replace similar shared-git-hooks
functionality
2020-11-26 22:26:37 +01:00
Oliver Blanthorn
08e454724e
Fix precommit hook 2020-06-18 17:45:23 +01:00
MatiasStorm
37dc2d371a Change pretty.sh to use eslint 2020-06-16 21:06:58 +02:00
Oliver Blanthorn
80d2a7a9b7
Let people know how to bypass precommit hook 2020-01-02 15:11:38 +00:00
Colin Caine
3c618ac7a4 s/npm/yarn 2019-05-31 16:48:53 +01:00
Oliver Blanthorn
4aa422d746
Make shellcheck check more scripts 2019-05-29 17:48:32 +01:00
glacambre
93a66ec96b
Replace prettier with tslint where possible 2019-04-06 22:52:07 +02:00
William G Hatch
e77e2a07fb use /usr/bin/env to find bash 2018-08-24 13:38:49 -06:00
glacambre
434e1263b8
pre-commit: Rename cachedJS -> cachedFiles 2018-06-07 15:13:34 +02:00
Oliver Blanthorn
b6551fb5cb
Document pretty in pre-commit hook 2018-05-25 09:24:46 +01:00
Colin Caine
d28fc7f0f6 Add npm run {lint,pretty}
Lint is an alias to hooks/pre-commit. Code shared in scripts/common.
2018-05-18 16:03:11 +01:00
glacambre
dbdba26f9b
pre-commit: Fix hook asking to prettify pretty files, warn on console.log 2018-05-18 07:21:13 +02:00
Colin Caine
268301c848 Don't add ugly files in pre-commit; warn instead
As mentioned in #559.
2018-05-18 00:24:31 +01:00
Colin Caine
5b444f76b7 Be less precise
Replace precise-commits with whole file prettification
2018-04-14 16:59:16 +01:00
Colin Caine
2cd4f70edd Omit empty variable 2018-04-14 11:46:31 +01:00
Oliver Blanthorn
4981a3618e
Whitelist doesn't seem to do anything 2018-04-13 19:41:22 +01:00
glacambre
82c06fd920
Add the Prettier linter 2018-03-06 22:03:44 +01:00
Colin Caine
7a22bc8c2c Stop testing on pre-commit 2018-02-02 13:23:27 +00:00
Colin Caine
496e33bd86 Share minimal git hooks 2017-10-02 01:58:09 +01:00