view .pre-commit-config.yaml @ 437:41a48a26b0aa

Add local config path for gitconfig
author Zeger Van de Vannet <zegervdv@me.com>
date Mon, 16 Aug 2021 09:17:49 +0200
parents 7004867c436c
children 627d2040c3ff
line wrap: on
line source

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

  - repo: local
    hooks:
      - id: stylua
        name: Format with stylua
        description: Formats lua files
        entry: stylua
        language: system
        types: [lua]