forked from WHEELBACK/COMEBACKHERE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (29 loc) · 1.02 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
29 lines (29 loc) · 1.02 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
files: ^(COMEBACKHERE-contracts/contracts/|scripts/|docs/|frontend/)
- id: end-of-file-fixer
files: ^(COMEBACKHERE-contracts/contracts/|scripts/|docs/|frontend/)
- id: check-json
files: ^(COMEBACKHERE-contracts/contracts/|scripts/|docs/|frontend/)
- repo: local
hooks:
- id: abi-snapshot-hygiene
name: ABI snapshot staging hygiene
entry: scripts/check_abi_snapshot_hygiene.sh
language: system
pass_filenames: false
- id: check-abi-snapshots
name: ABI snapshot content check
entry: scripts/check_abi_snapshots_precommit.sh
language: system
pass_filenames: false
files: '^(COMEBACKHERE-contracts/contracts/|abis/)'
- id: lint-docs
name: Markdown lint
entry: scripts/lint-docs.sh
language: system
pass_filenames: false