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