Skip to content

Commit 70eaca6

Browse files
committed
refactor: updated .pre-commit-config.yaml
1 parent 1c3a583 commit 70eaca6

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

.pre-commit-config.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,48 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
4+
rev: v4.6.0
55
hooks:
6-
- id: check-merge-conflict
7-
- id: check-yaml
8-
- id: end-of-file-fixer
9-
- id: mixed-line-ending
10-
args:
11-
- --fix=lf
12-
- id: trailing-whitespace
6+
- id: "check-added-large-files"
7+
- id: "fix-byte-order-marker"
8+
- id: "check-case-conflict"
9+
- id: "check-json"
10+
exclude: ".vscode/"
11+
- id: "end-of-file-fixer"
12+
- id: "trailing-whitespace"
13+
- id: "mixed-line-ending"
14+
- id: "check-merge-conflict"
15+
1316
- repo: https://github.com/hadolint/hadolint
1417
rev: v2.12.0
1518
hooks:
1619
- id: hadolint-docker
20+
1721
- repo: https://github.com/igorshubovych/markdownlint-cli
18-
rev: v0.33.0
22+
rev: v0.41.0
1923
hooks:
2024
- id: markdownlint-docker
2125
args:
2226
- --disable=MD013
27+
2328
- repo: local
2429
hooks:
2530
- id: psscriptanalyzer-check
2631
name: check PowerShell code using PSScriptAnalyzer
2732
language: script
28-
entry: PSScriptAnalyzer-wrapper.ps1 -Check
33+
entry: pre-commit-run.sh -Check
2934
args:
3035
- -ExcludeRule
3136
- PSUseBOMForUnicodeEncodedFile
3237
- -Fix
3338
types:
3439
- file
3540
files: \.ps[dm]?1$
41+
3642
- id: psscriptanalyzer-format
3743
name: format PowerShell code using PSScriptAnalyzer
3844
language: script
39-
entry: PSScriptAnalyzer-wrapper.ps1 -Format
45+
entry: pre-commit-run.sh -Format
4046
types:
4147
- file
4248
files: \.ps[dm]?1$

0 commit comments

Comments
 (0)