-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (44 loc) · 1.22 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
48 lines (44 loc) · 1.22 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
repos:
# --- Air formatter ---
- repo: https://github.com/posit-dev/air-pre-commit
# Air version
rev: 0.8.2
hooks:
# Run the formatter
- id: air-format
# --- Jarl linter ---
- repo: https://github.com/etiennebacher/jarl-pre-commit
rev: 0.5.0
hooks:
- id: jarl-check
# --- Basic hygiene ---
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: check-merge-conflict
- id: check-yaml
- id: check-toml
- id: check-json
- id: pretty-format-json
args: ["--autofix", "--no-ensure-ascii"]
files: "\\.(json)$"
# --- Conventional commits ---
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.0.0 # check for latest version
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
# --- Spelling (code+docs) ---
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args: ["--skip", "uv.lock,dist,build,.venv,*.min.js"]
exclude: |
(?x)(
^docs/_build/|
^.*/vendor/.*
)