Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 648 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 648 Bytes

Revidere

Gopher Wiz

Installation

Install pre-commit into your local machine.

brew install pre-commit

Install pre-commit into your git repository.

pre-commit install

Usage

Add a file named .pre-commit-config.yaml into the root directory of your repository.

repos:
  - repo: https://github.com/ssengalanto/revidere
    rev: v1.1.0
    hooks:
      - id: go-fmt
      - id: go-imports
      - id: go-vet
      - id: go-build
      - id: go-test
      - id: go-mod-tidy
      - id: golangci-lint # requires github.com/golangci/