pre-commit autoupdate & prettier

This commit is contained in:
Aminda Suomalainen 2024-05-02 19:58:17 +03:00
parent b361e52eff
commit e831620546
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -14,12 +14,12 @@ default_language_version:
repos: repos:
- repo: https://github.com/fsfe/reuse-tool - repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0 rev: v3.0.2
hooks: hooks:
- id: reuse - id: reuse
- 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,markdown"] args: ["--markdown-linebreak-ext", "md,markdown"]
@ -34,14 +34,14 @@ 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: https://github.com/rbubley/mirrors-prettier
rev: "v4.0.0-alpha.3" rev: "v3.2.5"
hooks: hooks:
- id: prettier - id: prettier
additional_dependencies: [ #additional_dependencies: [
# https://www.npmjs.com/package/prettier # https://www.npmjs.com/package/prettier
"prettier@3.1.0", #"prettier@3.1.0",
] #]
# Fedora: perl-Image-ExifTool # Fedora: perl-Image-ExifTool
- repo: local - repo: local