Commit graph

10 commits

Author SHA1 Message Date
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