Skip to content

hugoh/pre-commit-fish

Repository files navigation

pre-commit hooks for Fish scripts

pre-commit hooks to check syntax and indentation using built-in Fish shell checkers.

Usage

---
repos:
  - repo: https://github.com/hugoh/pre-commit-fish.git
    rev: v1.2
    hooks:
      - id: fish_syntax
      - id: fish_indent

Tests supported

Syntax

Id: fish_syntax

Indentation

Id: fish_indent