pre-commit autoupdate, switch to local prettier
This commit is contained in:
parent
e36e4eb9f7
commit
d16a3be24c
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
pnpm-lock.yaml
|
|
@ -3,13 +3,14 @@ ci:
|
|||
# the frequency of unnecessary PRs.
|
||||
# https://github.com/pre-commit-ci/issues/issues/83
|
||||
autoupdate_schedule: quarterly
|
||||
skip: [prettier]
|
||||
|
||||
default_language_version:
|
||||
python: pypy3
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
rev: v4.6.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
args: ["--markdown-linebreak-ext", "md"]
|
||||
|
@ -23,10 +24,12 @@ repos:
|
|||
- id: detect-private-key
|
||||
- id: fix-byte-order-marker
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v3.0.3"
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: prettier
|
||||
name: prettier
|
||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
||||
language: system
|
||||
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "2.7.3"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"prettier": "3.3.2",
|
||||
"prettier-plugin-sh": "0.14.0"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue