bismuth/.pre-commit-config.yaml
2022-03-20 03:04:36 +03:00

39 lines
1009 B
YAML

# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: MIT
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/fsfe/reuse-tool
rev: v0.14.0
hooks:
- id: reuse
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
exclude: "CHANGELOG.md"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: clang-format
exclude: "^.*external/.*$"
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
exclude: "^.*external/.*$"
- repo: local
hooks:
- id: qmlformat
name: qmlformat
entry: qmlformat
language: system
types: [text]
files: ^.*\.qml$