-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
49 lines (43 loc) · 1.42 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
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for a list of all hooks
repos:
### GENERAL ###
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.10.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-case-conflict
- id: check-symlinks
- id: check-json
exclude: ".devcontainer/devcontainer.json"
- id: check-toml
- id: check-xml
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
exclude: package.lock.json
# opinionated code formatter for all things frontend (also includes Markdown, JSON, YAML)
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
default_language_version:
python: python3
ci:
autoupdate_schedule: quarterly
autofix_commit_msg: |
chore(pre-commit): auto fixes from hooks :rotating_light:
for more information, see https://pre-commit.ci
autoupdate_commit_msg: |
chore(pre-commit): autoupdate :arrow_up:
TIP: you can trigger a re-run on a pull request by commenting `pre-commit.ci run` (must appear on a line by itself)
exclude: ".idea"