-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 984 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 984 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: detect-private-key
- id: no-commit-to-branch
args: [--branch, main, --branch, release]
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-json
- id: check-yaml
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.5.1
hooks:
- id: check-pre-commit-ci-config
- repo: https://github.com/pre-commit/pre-commit
rev: v2.17.0
hooks:
- id: validate_manifest
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.14.1
hooks:
- id: check-github-workflows
- id: check-github-actions
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.12.0
hooks:
- id: eslint
args: [--fix]