Skip to content

Commit

Permalink
Switch from archived mirror repo and pin prettier version until spaci…
Browse files Browse the repository at this point in the history
…ng issue is figured out.
  • Loading branch information
grugnog committed Dec 12, 2024
1 parent 46dc702 commit 63ce89b
Showing 1 changed file with 6 additions and 8 deletions.
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]

0 comments on commit 63ce89b

Please sign in to comment.