Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,20 @@ repos:
additional_dependencies: [types-PyYAML]
exclude: "tests"

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
# A `local` hook instead of the `mirrors-prettier` repo mirror: that mirror only has alpha
# pre-releases past v3.1.0 (prettier hasn't cut a stable v4 yet), and pre-commit.ci's autoupdate
# always jumps to the highest available tag regardless of pre-release status - repeatedly
# proposing a broken v4.0.0-alpha.x bump (see #168, #188, #192, #200). A `local` hook has no
# `rev` for autoupdate to touch, so it's pinned here until manually bumped to a real stable
# release.
- repo: local
hooks:
- id: prettier
name: prettier
entry: prettier --write --list-different --ignore-unknown
language: node
types: [text]
additional_dependencies: ["prettier@3.1.0"]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.49.1
Expand Down
Loading