Some pre-commit hooks written in Go language
Go Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.pre-commit-config.yaml
.pre-commit-hooks.yaml
Makefile
README.md
checkmake.go

README.md

Useful pre-commit hooks written in Go language.

Currently it only includes mrtazz Makefile linter.

Requires that you have go installed.

Usage

-   repo: https://github.com/Lucas-C/pre-commit-hooks-go
    sha: v1.0.0
    hooks:
    -   id: checkmake

Development

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