.pre-commit-config.yaml: add the prettier toml plugin

This commit is contained in:
Aminda Suomalainen 2023-08-09 15:03:17 +03:00
parent 4e52f3c943
commit 98e8c79431
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -73,7 +73,11 @@ repos:
- id: prettier - id: prettier
exclude_types: [python, pyi, jupyter] exclude_types: [python, pyi, jupyter]
additional_dependencies: additional_dependencies:
["prettier@3.0.1", "prettier-plugin-nginx@1.0.3"] [
"prettier@3.0.1",
"prettier-plugin-nginx@1.0.3",
"prettier-plugin-toml@1.0.0",
]
# Black, opinionated Python code formatter # Black, opinionated Python code formatter
# - repo: https://github.com/psf/black # - repo: https://github.com/psf/black