-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
49 lines (45 loc) · 1.29 KB
/
.pre-commit-config.yaml
File metadata and controls
49 lines (45 loc) · 1.29 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: end-of-file-fixer
exclude: examples/ignore/example-ignore.md
- id: fix-byte-order-marker
- id: forbid-submodules
- id: mixed-line-ending
- id: no-commit-to-branch
- id: pretty-format-json
args:
- --autofix
exclude: package-lock.json
- id: trailing-whitespace
exclude: examples/ignore/example-ignore.md
- repo: https://github.com/adrienverge/yamllint
rev: v1.37.1
hooks:
- id: yamllint
args:
- --config-file=.yamllint
- --strict
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint-docker
- repo: local
hooks:
- id: package-lock
name: package.json and package-lock.json are in step
entry: npm ci --omit=dev --silent
language: system
pass_filenames: false
minimum_pre_commit_version: !!str 4.2