-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (48 loc) · 1.45 KB
/
.pre-commit-config.yaml
File metadata and controls
56 lines (48 loc) · 1.45 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
55
56
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- repo: https://github.com/rhysd/actionlint
rev: v1.7.10
hooks:
- id: actionlint
args: [-ignore, SC]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
hooks:
- id: validate-pyproject
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.47.0
hooks:
- id: markdownlint-fix
args: [-c, configs/.markdownlint.yaml, --fix, --disable, MD028]
exclude: ^marimo/_tutorials/.*\.md
- repo: https://github.com/crate-ci/typos
rev: v1.43.1
hooks:
- id: typos
pass_filenames: false
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.0
hooks:
# Run the linter
- id: ruff
args: [--fix]
# Run the formatter
- id: ruff-format
# TODO: add back. this throws errors: thread 'tokio-rt-worker' (169) panicked at crates/oxc_allocator/src/pool/fixed_size.rs:112:67
# - repo: https://github.com/oxc-project/mirrors-oxlint
# rev: v1.56.0
# hooks:
# - id: oxlint
# args: [--fix, --quiet]
# files: ^(frontend/src/|packages/)
- repo: https://github.com/oxc-project/mirrors-oxfmt
rev: v0.42.0
hooks:
- id: oxfmt
args: [--write, --config, .oxfmtrc.json]
files: ^(frontend/src/|packages/)
'types_or': [javascript, jsx, ts, tsx]