Restore write-good lint checker 72/64972/2
authorThanh Ha <zxiiro@gmail.com>
Sat, 8 Aug 2020 19:42:18 +0000 (15:42 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 8 Aug 2020 20:08:09 +0000 (16:08 -0400)
commite4157418fbfca4cb0c2b1deb38dbecfe51d2373b
tree897be0e360d120a82c50084bf4b7f4b6d9c1ea3d
parent83fc5344248d56a42bbcd3eb9a8bb02754c37a36
Restore write-good lint checker

Change I9bf03d36b9c17b261ef83140cd7e9c2ddf5caba1 removed the write-good
linter without a replacement. This patch restores the linter back by
migrating it to be a pre-commit hook instead.

This also rewrites the generic linter best practice section to
recommend pre-commit instead as we are no longer supporting Coala.

Issue: RELENG-2642
Change-Id: I698df0f68cbea80f43b29e3ae7563d2dc38951e9
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
.coafile [deleted file]
.pre-commit-config.yaml
docs/best-practices.rst