pre-commit autoupdate + prettier update

This commit is contained in:
Aminda Suomalainen 2023-11-13 10:54:18 +02:00
parent 954632896c
commit e322b50e73
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -122,14 +122,14 @@ repos:
# prettier, opinionated code formatter # prettier, opinionated code formatter
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3" rev: "v3.1.0"
hooks: hooks:
- id: prettier - id: prettier
# These are handled by Black below or pretty-format-json above # These are handled by Black below or pretty-format-json above
exclude_types: [python, pyi, jupyter, json] exclude_types: [python, pyi, jupyter, json]
additional_dependencies: [ additional_dependencies: [
# https://www.npmjs.com/package/prettier # https://www.npmjs.com/package/prettier
"prettier@3.0.3", "prettier@3.1.0",
# https://www.npmjs.com/package/prettier-plugin-nginx # https://www.npmjs.com/package/prettier-plugin-nginx
"prettier-plugin-nginx@1.0.3", "prettier-plugin-nginx@1.0.3",
# https://www.npmjs.com/package/prettier-plugin-toml # https://www.npmjs.com/package/prettier-plugin-toml
@ -146,7 +146,7 @@ repos:
# Shell code formatter, requires Go # Shell code formatter, requires Go
- repo: https://github.com/scop/pre-commit-shfmt - repo: https://github.com/scop/pre-commit-shfmt
rev: v3.7.0-1 rev: v3.7.0-2
hooks: hooks:
- id: shfmt - id: shfmt
#- id: shfmt-docker #- id: shfmt-docker