-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprek.toml
More file actions
29 lines (26 loc) · 851 Bytes
/
prek.toml
File metadata and controls
29 lines (26 loc) · 851 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
28
29
# Configuration file for `prek`, a git hook framework written in Rust.
# See https://prek.j178.dev for more information.
#:schema https://www.schemastore.org/prek.json
[[repos]]
repo = "builtin"
hooks = [
{ id = "trailing-whitespace" },
{ id = "end-of-file-fixer" },
{ id = "check-added-large-files" },
{ id = "check-merge-conflict" },
{ id = "check-yaml" },
{ id = "check-toml" },
{ id = "check-json" },
]
[[repos]]
repo = "https://github.com/DavidAnson/markdownlint-cli2"
rev = "v0.21.0"
hooks = [
{ id = "markdownlint-cli2" },
]
[[repos]]
repo = "local"
hooks = [
{ id = "prettier", name = "prettier", entry = "prettier --write --ignore-unknown", language = "system", types_or = ["markdown", "yaml", "json"] },
{ id = "stylua", name = "stylua", entry = "stylua", language = "system", types = ["lua"] },
]