forked from botanix-labs/Macbeth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
47 lines (42 loc) · 944 Bytes
/
.pre-commit-config.yaml
File metadata and controls
47 lines (42 loc) · 944 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
default_install_hook_types:
- pre-commit
default_stages:
- pre-commit
exclude: |
(?x)^(
CHANGELOG.md|
pnpm-lock.yaml|
contracts|
cov-reports|
docker-local|
crates/chainspec/res/genesis
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-json
- id: check-toml
- id: check-added-large-files
args:
- --maxkb=3000
- id: check-merge-conflict
- id: check-case-conflict
- id: detect-private-key
- repo: local
hooks:
- id: format
name: format
description: Format files using different tools
entry: make fmt
language: rust
pass_filenames: false
- repo: https://github.com/lyz-code/yamlfix/
rev: 1.17.0
hooks:
- id: yamlfix
args:
- -c
- .yamlfix.toml