Skip to content

Commit e3c782a

Browse files
committed
chore(pre-commit): update hooks
1 parent 8fdb87f commit e3c782a

File tree

3 files changed

+32
-44
lines changed

3 files changed

+32
-44
lines changed

.markdownlint.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ MD013:
1515
tables: true
1616
# Include headings
1717
headings: true
18-
# Include headings
19-
headers: true
2018
# Strict length checking
2119
strict: false
2220
# Stern length checking
2321
stern: false
24-
25-
# MD033/no-inline-html - Inline HTML disabled because of tf-docs
26-
MD033: false

.pre-commit-config.yaml

Lines changed: 32 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
fail_fast: false
3-
43
default_stages:
54
- commit
65
- push
76

7+
exclude: (dist/.*)
8+
89
repos:
910
- repo: https://github.com/thlorenz/doctoc
1011
rev: v2.2.0
@@ -17,38 +18,8 @@ repos:
1718
- --github
1819
- --notitle
1920

20-
- repo: https://github.com/adrienverge/yamllint
21-
rev: v1.28.0
22-
hooks:
23-
- id: yamllint
24-
args:
25-
- --config-file
26-
- .yamllint.yaml
27-
28-
- repo: https://github.com/Lucas-C/pre-commit-hooks
29-
rev: v1.3.1
30-
hooks:
31-
- id: remove-crlf
32-
exclude: (dist/index.mjs)
33-
- id: remove-tabs
34-
exclude: (dist/index.mjs|dist/595.index.mjs)
35-
36-
- repo: https://github.com/sirosen/texthooks
37-
rev: 0.4.0
38-
exclude: (dist/**)
39-
hooks:
40-
- id: fix-smartquotes
41-
exclude: (dist/index.mjs)
42-
- id: fix-ligatures
43-
- id: forbid-bidi-controls
44-
45-
- repo: https://github.com/k8s-at-home/sops-pre-commit
46-
rev: v2.1.1
47-
hooks:
48-
- id: forbid-secrets
49-
5021
- repo: https://github.com/pre-commit/pre-commit-hooks
51-
rev: v4.3.0
22+
rev: v4.5.0
5223
hooks:
5324
- id: check-merge-conflict
5425
- id: check-added-large-files
@@ -68,24 +39,43 @@ repos:
6839
- id: end-of-file-fixer
6940
- id: fix-byte-order-marker
7041
- id: mixed-line-ending
71-
exclude: (dist/index.mjs)
7242
args:
7343
- --fix=auto
7444
- id: trailing-whitespace
75-
exclude: (dist/index.mjs)
7645
args:
7746
- --markdown-linebreak-ext=md
7847

48+
- repo: https://github.com/adrienverge/yamllint
49+
rev: v1.33.0
50+
hooks:
51+
- id: yamllint
52+
args:
53+
- --config-file
54+
- .yamllint.yaml
55+
56+
- repo: https://github.com/Lucas-C/pre-commit-hooks
57+
rev: v1.4.2
58+
hooks:
59+
- id: remove-crlf
60+
- id: remove-tabs
61+
62+
- repo: https://github.com/sirosen/texthooks
63+
rev: 0.6.2
64+
hooks:
65+
- id: fix-smartquotes
66+
- id: fix-ligatures
67+
- id: forbid-bidi-controls
68+
7969
- repo: https://github.com/igorshubovych/markdownlint-cli
80-
rev: v0.32.2
70+
rev: v0.37.0
8171
hooks:
8272
- id: markdownlint-fix
8373
args:
8474
- --config
8575
- .markdownlint.yaml
8676

8777
- repo: https://github.com/pre-commit/mirrors-prettier
88-
rev: v3.0.0-alpha.4
78+
rev: v3.1.0
8979
hooks:
9080
- id: prettier
9181
args:
@@ -94,7 +84,12 @@ repos:
9484
- --config
9585
- .prettierrc.js
9686

87+
- repo: https://github.com/k8s-at-home/sops-pre-commit
88+
rev: v2.1.1
89+
hooks:
90+
- id: forbid-secrets
91+
9792
- repo: https://github.com/zricethezav/gitleaks
98-
rev: v8.12.0
93+
rev: v8.18.1
9994
hooks:
10095
- id: gitleaks

.yamllint.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
# see https://yamllint.readthedocs.io/en/stable/index.html for more options
3-
ignore: |
4-
gotk-components.yaml
53
extends: default
64
rules:
75
truthy:

0 commit comments

Comments
 (0)