-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
71 lines (71 loc) · 1.98 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
ci:
autofix_prs: true
autoupdate_branch: bugfix/pre-commit-fixes
skip:
- local-biome-check
minimum_pre_commit_version: 2.13.0
repos:
- hooks:
- id: commitizen
- id: commitizen-branch
stages:
- pre-push
repo: https://github.com/commitizen-tools/commitizen
rev: v4.1.0
- hooks:
- id: no-commit-to-branch
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
args:
- --unsafe # required for cfn or yaml with custom import (!)
- id: trailing-whitespace
- id: check-symlinks
- id: check-builtin-literals
- id: check-ast
- id: check-added-large-files
- id: debug-statements
- id: mixed-line-ending
- id: requirements-txt-fixer
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
- hooks:
- id: check-github-workflows
- id: check-github-actions
- id: check-dependabot
- id: check-taskfile
- id: check-renovate
additional_dependencies: ["json5"]
repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.31.0
- hooks:
- additional_dependencies:
- mdformat-frontmatter
- mdformat-gfm
- mdformat-toc
- mdformat-config
id: mdformat
repo: https://github.com/executablebooks/mdformat
rev: 0.7.21
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.17.1
hooks:
- id: cspell
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
- hooks:
- id: yamlfmt
repo: https://github.com/google/yamlfmt
rev: v0.15.0
- repo: local
hooks:
- id: local-biome-check
name: biome check
entry: npx --package @biomejs/biome 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)$"