-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Expand file tree
/
Copy path.pre-commit-config.yml
More file actions
28 lines (28 loc) 路 943 Bytes
/
Copy path.pre-commit-config.yml
File metadata and controls
28 lines (28 loc) 路 943 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
repos:
- repo: local
hooks:
- id: format-description
name: format-description
entry: pnpm exec tsx scripts/workflow/format-description.ts
language: system
files: \.(ts|tsx|js|cjs|mjs)$
- id: oxlint
name: oxlint
entry: pnpm exec oxlint --type-aware --fix
language: system
files: \.(ts|tsx|js|cjs|mjs)$
- id: eslint
name: eslint
entry: pnpm exec eslint --cache --fix --concurrency auto
language: system
files: \.(ts|tsx|js|cjs|mjs|ya?ml)$
- id: oxfmt
name: oxfmt
entry: pnpm exec oxfmt --no-error-on-unmatched-pattern
language: system
- id: typecheck
name: typecheck
entry: pnpm typecheck
language: system
pass_filenames: false
always_run: true