38 строки
975 B
YAML
38 строки
975 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.1.0
|
|
hooks:
|
|
- id: mixed-line-ending
|
|
exclude: >
|
|
(?x)^(
|
|
.*cs.meta|
|
|
.*.css|
|
|
.*.meta
|
|
)$
|
|
args: [--fix=lf]
|
|
|
|
- id: trailing-whitespace
|
|
name: trailing-whitespace-markdown
|
|
types: [markdown]
|
|
- id: check-merge-conflict
|
|
args: [--assume-in-merge]
|
|
- id: check-yaml
|
|
# Won't handle the templating in yamato
|
|
exclude: \.yamato/.*
|
|
|
|
- repo: https://github.com/dotnet/format
|
|
rev: v5.1.225507
|
|
hooks:
|
|
- id: dotnet-format
|
|
entry: dotnet-format whitespace
|
|
args: [--folder, --include]
|
|
|
|
# "Local" hooks, see https://pre-commit.com/#repository-local-hooks
|
|
- repo: local
|
|
hooks:
|
|
- id: validate-release-links-py
|
|
name: validate release links
|
|
language: script
|
|
entry: utils/validate_release_links.py
|
|
require_serial: true
|