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

Lucas-C/pre-commit-hooks-go

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

⚠️ ⚠️ 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