Repository navigation
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
61 lines (55 loc) · 1.61 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
61 lines (55 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
default_stages: [pre-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: no-commit-to-branch
args: ["--branch", "main", "--branch", "dev"]
- id: mixed-line-ending
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: check-merge-conflict
- id: check-case-conflict
- id: check-symlinks
- id: check-yaml
- id: check-json
- id: check-ast
- id: check-docstring-first
- id: debug-statements
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-vcs-permalinks
- id: detect-private-key
- id: detect-aws-credentials
args: ["--allow-missing-credentials"]
- id: destroyed-symlinks
- id: fix-byte-order-marker
- repo: local
hooks:
- id: csharpier
name: csharpier format
entry: dotnet csharpier format .
language: system
files: \.(cs|csproj|props|slnx)$
pass_filenames: false
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.14.1-1
hooks:
- id: shfmt
args: ["-i", "2", "-ci"]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.12
hooks:
- id: actionlint
args: ["-shellcheck="]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.49.1
hooks:
- id: markdownlint
- repo: https://github.com/codespell-project/codespell
rev: v2.4.3
hooks:
- id: codespell
args: ["--config", ".codespellrc", "--check-filenames"]
exclude: ^assets/