view .pre-commit-config.yaml @ 525:f01585f1517f

Enable tree-sitter for some languages
author zegervdv <zegervdv@me.com>
date Tue, 11 Jan 2022 14:59:49 +0100
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]