Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.pre-commit-config.yaml 471 B
ci:
    autofix_prs: false
repos:
  - repo: https://github.com/secondlife/git-hooks.git 
    rev: v1.0.2
    hooks:
      - id: llsd
      - id: no-trigraphs
      - id: end-of-file
        files: \.(cpp|c|h|py|glsl|cmake|txt)$
        exclude: language.txt
      - id: indent-with-spaces
        files: \.(cpp|c|h|inl|py|glsl|cmake)$
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
      - id: check-xml
      - id: mixed-line-ending