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]
