-
Notifications
You must be signed in to change notification settings - Fork 27
/
.pre-commit-config.yaml
43 lines (42 loc) · 1.07 KB
/
.pre-commit-config.yaml
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
ci:
skip:
- zizmor # pre-commit.ci doesn't have new enough Rust installed
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
- id: check-toml
- id: check-yaml
- id: check-vcs-permalinks
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix, lf]
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
hooks:
- name: prettier
id: prettier
exclude: |
(?x)^(
vscode-lean/abbreviations.json|
.*/lake-manifest.json
)
- repo: https://github.com/lunarmodules/luacheck
rev: v1.2.0
hooks:
- id: luacheck
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v0.20.0
hooks:
- id: stylua
exclude: lua/lean/tui.lua
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.15.0
hooks:
- id: markdownlint-cli2
- repo: https://github.com/woodruffw/zizmor
rev: v0.3.0
hooks:
- id: zizmor