mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-09-24 19:40:26 +01:00
24 lines
584 B
YAML
24 lines
584 B
YAML
repos:
|
|
- repo: builtin
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.10
|
|
hooks:
|
|
- id: ruff-check
|
|
args: [--fix]
|
|
- id: ruff-format
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: oxfmt
|
|
name: oxfmt
|
|
entry: npx --prefix src/frontend oxfmt --config src/frontend/.oxfmtrc.json
|
|
language: system
|
|
types_or: [javascript, jsx, ts, tsx, css, json]
|
|
files: ^src/frontend/
|
|
exclude: package-lock\.json
|