view .pre-commit-config.yaml @ 792:6353f73b13b3

feat: add rust config
author zegervdv <zegervdv@me.com>
date Sat, 13 May 2023 22:38:45 +0200
parents f8f28675afe7
children dfc8b534d666
line wrap: on
line source

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.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.17.1
    hooks:
      - id: stylua-github

  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: v3.0.0-alpha.9-for-vscode
    hooks:
      - id: prettier

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