Commit graph

18 commits

Author SHA1 Message Date
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
Oliver Blanthorn
08c0fb08e8
Only run npm install when we really need to 2018-05-21 13:44:21 +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
Oliver Blanthorn
e093874173
Run npm install on checkout if package.json changes 2018-04-25 11:50:08 +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
eb7d1b16dd build: Fix hook for non-arch users 2017-11-24 11:12:42 +00:00
Colin Caine
80db6e7297 build: Check package-lock.json in post-merge, too 2017-11-22 23:06:42 +00:00
Oliver Blanthorn
7d7a9686ad
Fix #101 - run npm install after pull 2017-11-21 20:31:30 +00:00
Colin Caine
496e33bd86 Share minimal git hooks 2017-10-02 01:58:09 +01:00