-
Notifications
You must be signed in to change notification settings - Fork 676
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (40 loc) · 1.07 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (40 loc) · 1.07 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
default_language_version:
node: system
python: python3
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.2
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types_or: [css, scss, javascript, ts, tsx, json, yaml]
additional_dependencies:
- prettier@3.8.1
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.39.1
hooks:
- id: eslint
types: [file]
files: \.(js)$
args: [--report-unused-disable-directives]
additional_dependencies:
- eslint@9.39.1
- '@eslint/js@9.39.1'
- globals@16.5.0
- repo: https://github.com/thibaudcolas/pre-commit-stylelint
rev: v16.26.1
hooks:
- id: stylelint
files: \.css$
additional_dependencies:
- stylelint@16.26.1
- stylelint-config-standard@39.0.1
- repo: https://github.com/rtts/djhtml
rev: 3.0.10
hooks:
- id: djhtml