-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
54 lines (54 loc) · 1.62 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
54 lines (54 loc) · 1.62 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
50
51
52
53
54
exclude: ^dist/
repos:
- repo: local
hooks:
- id: test:fixtures
name: test:fixtures
entry: pixi run -e pre-commit pnpm test:fixtures
language: system
pass_filenames: false
always_run: true
- id: lint
name: lint
entry: pixi run -e pre-commit pnpm lint:fix
language: system
pass_filenames: false
types: [file, ts]
- id: build
name: build
entry: pixi run -e pre-commit pnpm build
language: system
pass_filenames: false
always_run: true
- id: prettier
name: prettier
entry: pixi run -e pre-commit pnpm prettier --write
language: system
types: [markdown, yaml]
- id: typos
name: typos
entry: pixi run -e pre-commit typos --force-exclude
language: system
types: [text]
require_serial: true
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: pixi run -e pre-commit trailing-whitespace-fixer
language: system
types: [text]
- id: end-of-file-fixer
name: end-of-file-fixer
entry: pixi run -e pre-commit end-of-file-fixer
language: system
types: [text]
exclude: ^tests/.*/rendered.md$
- id: check-merge-conflict
name: check-merge-conflict
entry: pixi run -e pre-commit check-merge-conflict --assume-in-merge
language: system
types: [text]
- id: mixed-line-ending
name: mixed-line-ending
entry: pixi run -e pre-commit mixed-line-ending
language: system
types: [text]