-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
58 lines (52 loc) · 1.65 KB
/
.pre-commit-config.yaml
File metadata and controls
58 lines (52 loc) · 1.65 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
---
default_stages: [commit-msg, pre-commit, pre-push]
repos:
- repo: builtin
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: 79a6b2b1392eaf49cdd32ac4f14be1a809bbd8f7 # v1.37.1
hooks:
- id: yamllint
name: Check YAML files with yamllint
entry: yamllint -c .yamllint.yaml --strict
types: [yaml]
- repo: https://github.com/codespell-project/codespell
rev: 63c8f8312b7559622c0d82815639671ae42132ac # v2.4.1
hooks:
- id: codespell
exclude: (^\.)
- repo: https://github.com/errata-ai/vale
rev: 27593b0e0e7eb8f0c2b7fae0d93fa1cfaabceb2f # v3.13.0
hooks:
- id: vale
- id: vale
name: vale (commit message)
stages: [commit-msg]
args: [--ext=.md]
- repo: https://github.com/rvben/rumdl-pre-commit
rev: f82d34de69ae7ddb36af40383c18d81d042fa3b1 # v0.0.222
hooks:
- id: rumdl-fmt
- id: rumdl
- repo: local
hooks:
- id: biome-check
name: biome check
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
language: system
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
- id: cog-verify
name: conventional commits
entry: cog verify --file
language: system
stages: [commit-msg]
always_run: true