view .pre-commit-config.yaml @ 860:333a6c27fdf2

fix: use glob syntax to match ~/.hgrc
author Zeger Van de Vannet <zeger@vandevan.net>
date Fri, 05 Apr 2024 13:20:57 +0200
parents 9c8698e50c5e
children 768ab9f6fdf0
line wrap: on
line source

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
      - id: check-yaml
      - id: check-toml
      - id: end-of-file-fixer
      - id: trailing-whitespace
      - id: check-merge-conflict

  - repo: https://github.com/JohnnyMorganz/StyLua
    rev: v0.19.1
    hooks:
      - id: stylua-github

  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: v3.1.0
    hooks:
      - id: prettier

exclude: "^(.chezmoiexternal.toml|.chezmoitemplates/lazy-lock.json)$"