forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (56 loc) · 1.73 KB
/
.pre-commit-config.yaml
File metadata and controls
56 lines (56 loc) · 1.73 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
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: local
hooks:
- id: check-json-in-config
name: Check JSON files are in pre-commit-config.yaml
entry: .cicd/check-json-in-config.py
language: python
types: [json]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
args: [--assume-in-merge]
- id: check-yaml
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.36.0
hooks:
- id: check-github-workflows
name: Check GitHub workflows with check-jsonschema
args: ["--verbose"]
- id: check-renovate
name: Check Renovate config with check-jsonschema
additional_dependencies:
# renovate: datasource=pypi
- json5==0.12.1
args: ["--verbose"]
- repo: https://github.com/biomejs/pre-commit
rev: v2.3.10
hooks:
- id: biome-check
name: Check JavaScript with biome
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
name: Check shell scripts with shellcheck
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 42.64.1
hooks:
- id: renovate-config-validator
name: Check Renovate config with renovate-config-validator
files: |
(?x)(
(^|/).?renovate(?:rc)?(?:\.json5?)?$|
default.json|
github-actions.json|
groupByManager.json|
package-sls.json|
pre-commit.json|
weekends.json|
(?!)
)$