Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
28 lines (17 loc) · 851 Bytes

README.md

File metadata and controls

executable file
·
28 lines (17 loc) · 851 Bytes

⚠️ ⚠️ Use the hook provided by checkmake, as the checkmake hook in this repo is no longer maintained.

pre-commit-hooks-go

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
    rev: v1.0.1
    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