checkmake
, as the checkmake hook in this repo is no longer maintained.
Useful pre-commit hooks written in Go language.
Currently it only includes mrtazz Makefile linter.
Requires that you have go
installed.
- repo: https://github.com/Lucas-C/pre-commit-hooks-go
rev: v1.0.1
hooks:
- id: checkmake
checkmake.go
is simply a copy of cmd/checkmake/main.go
in https://github.com/mrtazz/checkmake.
To update it:
curl https://raw.githubusercontent.com/mrtazz/checkmake/master/cmd/checkmake/main.go -o checkmake.go