Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from archived mirror repo and pin prettier version #1482

Merged
merged 1 commit into from
Dec 12, 2024
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: 6 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ repos:
always_run: true
pass_filenames: false
verbose: true
- repo: local
hooks:
- id: mkdocs
name: mkdocs
language: script
entry: ./.config/mkdocs/mkdocs.sh
always_run: true
pass_filenames: false
verbose: true
- repo: local
hooks:
- id: link-check
name: link-check
language: docker_image
entry: --entrypoint node civicactions/guidebook-lint:latest /usr/src/node_modules/.bin/markdown-link-check -q -c .config/markdown.links.config.json --
types: [markdown]
always_run: true
pass_filenames: true
- id: prettier
name: prettier
entry: prettier --write --ignore-unknown
language: node
types: [text]
additional_dependencies: ["[email protected]"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
Expand All @@ -54,10 +56,6 @@ repos:
types: [markdown]
args:
- "--ignore-words=.config/codespell-ignore"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
ci:
# We skip checks that have their own actions or external dependencies.
skip: [remark, codespell, mkdocs, link-check]
Loading