-
Notifications
You must be signed in to change notification settings - Fork 12
/
.pre-commit-config.yaml
40 lines (40 loc) · 1010 Bytes
/
.pre-commit-config.yaml
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
exclude: ^dist/
repos:
- repo: local
hooks:
- id: test:fixtures
name: test:fixtures
entry: pnpm test:fixtures
language: system
pass_filenames: false
always_run: true
- id: lint
name: lint
entry: pnpm lint:fix
language: system
pass_filenames: false
types: [file, ts]
- id: build
name: build
entry: pnpm build
language: system
pass_filenames: false
always_run: true
- id: prettier
name: prettier
entry: pnpm prettier
language: system
pass_filenames: false
types_or: [markdown, yaml]
- repo: https://github.com/crate-ci/typos
rev: v1.19.0
hooks:
- id: typos
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: end-of-file-fixer
exclude: ^tests/.*/rendered.md$
- id: mixed-line-ending
- id: trailing-whitespace