-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathprek.toml
More file actions
27 lines (25 loc) · 791 Bytes
/
Copy pathprek.toml
File metadata and controls
27 lines (25 loc) · 791 Bytes
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
default_install_hook_types = ["pre-commit", "commit-msg"]
default_stages = ["pre-commit"]
[[repos]]
repo = "builtin"
hooks = [
{ id = "trailing-whitespace" },
{ id = "end-of-file-fixer" },
{ id = "check-merge-conflict" },
{ id = "check-case-conflict" },
{ id = "check-added-large-files" },
{ id = "check-json", exclude = "(\\.devcontainer/|tsconfig\\.(app|node)\\.json$|grafana-dashboards/)" },
{ id = "check-toml" },
{ id = "check-yaml", args = ["--allow-multiple-documents"], exclude = "(^|/)templates/" },
]
[[repos]]
repo = "https://github.com/alessandrojcm/commitlint-pre-commit-hook"
rev = "v9.26.0"
hooks = [
{
id = "commitlint",
stages = ["commit-msg"],
pass_filenames = true,
additional_dependencies = ["@commitlint/config-conventional"],
},
]