23 lines
539 B
YAML
23 lines
539 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: "v4.4.0"
|
||
|
hooks:
|
||
|
- id: check-case-conflict
|
||
|
- id: check-merge-conflict
|
||
|
- id: check-toml
|
||
|
- id: check-yaml
|
||
|
- id: end-of-file-fixer
|
||
|
- id: trailing-whitespace
|
||
|
|
||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
|
rev: "v0.1.6"
|
||
|
hooks:
|
||
|
- id: ruff
|
||
|
args: [--exit-non-zero-on-fix]
|
||
|
- id: ruff-format
|
||
|
|
||
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||
|
rev: "v3.0.3"
|
||
|
hooks:
|
||
|
- id: prettier
|